]> git.eshelyaron.com Git - emacs.git/commitdiff
Fixed generation of empty dependencies lists.
authorPer Abrahamsen <abraham@dina.kvl.dk>
Tue, 15 Apr 1997 11:13:24 +0000 (11:13 +0000)
committerPer Abrahamsen <abraham@dina.kvl.dk>
Tue, 15 Apr 1997 11:13:24 +0000 (11:13 +0000)
lisp/cus-dep.el

index ac156cad18d4345351d6b60505a1c6b917ebea2b..16871ef78665ef3814e32075dda18cf40cead4c1 100644 (file)
@@ -58,9 +58,10 @@ Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies"
                          (insert " ")
                        (insert "(put '" (symbol-name symbol) 
                                " 'custom-loads '("))
-                     (insert (prin1-to-string where))
+                     (prin1 where (current-buffer))
                      (push where found)))
-                 (insert "))\n")))))
+                 (when found
+                   (insert "))\n"))))))
   (insert "\n;;; cus-load.el ends here\n")
   (save-buffer)
   (message "Generating cus-load.el..."))