;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
;; Keywords: internal
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING. If not, write to the
+;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+;; Boston, MA 02111-1307, USA.
+
;;; Code:
(require 'cl)
(insert " ")
(insert "(put '" (symbol-name symbol)
" 'custom-loads '("))
- (insert (prin1-to-string where))
+ (prin1 where (current-buffer))
(push where found)))
- (insert "))\n")))))
- (insert "\n;;; cus-load.el ends here\n")
+ (when found
+ (insert "))\n"))))))
+ (insert "\
+
+\(provide 'cus-load)
+
+;;; cus-load.el ends here\n")
(save-buffer)
- (message "Generating cus-load.el..."))
+ (message "Generating cus-load.el...done"))
;;; cus-dep.el ends here