diff options
author | Per Abrahamsen <abraham@dina.kvl.dk> | 1997-04-15 11:13:24 +0000 |
---|---|---|
committer | Per Abrahamsen <abraham@dina.kvl.dk> | 1997-04-15 11:13:24 +0000 |
commit | a9d3a78b019b65536168b02151a982a5ecf7d6ee (patch) | |
tree | 76a75984952d6793a3871a18ef888d5e4523126e /lisp | |
parent | 4cab4c5b72d8b881a1f02efc7d6966bba19b1100 (diff) | |
download | emacs-a9d3a78b019b65536168b02151a982a5ecf7d6ee.tar.gz |
Fixed generation of empty dependencies lists.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/cus-dep.el | 5 |
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...")) |