summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Abrahamsen <abraham@dina.kvl.dk>1997-04-15 11:13:24 +0000
committerPer Abrahamsen <abraham@dina.kvl.dk>1997-04-15 11:13:24 +0000
commitd672ae63dfd63d79585860ebf3f4fd42ff505119 (patch)
treed2165e5d8605104fe724409afbb9c5e8a2984c8c
parent72ee5c9c6f85faaebf1034207a8a31d6c6e3516a (diff)
downloademacs-d672ae63dfd63d79585860ebf3f4fd42ff505119.tar.gz
Fixed generation of empty dependencies lists.
-rw-r--r--lisp/cus-dep.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/cus-dep.el b/lisp/cus-dep.el
index ac156cad18d..16871ef7866 100644
--- a/lisp/cus-dep.el
+++ b/lisp/cus-dep.el
@@ -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..."))