aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-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"
58 (insert " ") 58 (insert " ")
59 (insert "(put '" (symbol-name symbol) 59 (insert "(put '" (symbol-name symbol)
60 " 'custom-loads '(")) 60 " 'custom-loads '("))
61 (insert (prin1-to-string where)) 61 (prin1 where (current-buffer))
62 (push where found))) 62 (push where found)))
63 (insert "))\n"))))) 63 (when found
64 (insert "))\n"))))))
64 (insert "\n;;; cus-load.el ends here\n") 65 (insert "\n;;; cus-load.el ends here\n")
65 (save-buffer) 66 (save-buffer)
66 (message "Generating cus-load.el...")) 67 (message "Generating cus-load.el..."))