Resorted; add some missing Morohashi's Daikanwa characters; add
[chise/xemacs-chise.git] / lisp / cus-dep.el
index 8dab0cf..fb14885 100644 (file)
@@ -4,8 +4,8 @@
 ;;
 ;; Author: Per Abrahamsen <abraham@dina.kvl.dk>, then
 ;;         Richard Stallman <rms@gnu.ai.mit.edu>, then
-;;         Hrvoje Niksic <hniksic@srce.hr>       (rewritten for XEmacs)
-;; Maintainer: Hrvoje Niksic <hniksic@srce.hr>
+;;         Hrvoje Niksic <hniksic@xemacs.org>       (rewritten for XEmacs)
+;; Maintainer: Hrvoje Niksic <hniksic@xemacs.org>
 ;; Keywords: internal
 
 ;; This file is part of XEmacs.
@@ -158,7 +158,8 @@ Batch usage: xemacs -batch -l cus-dep.el -f Custom-make-dependencies DIRS"
              (with-temp-file cusload-file
                (insert ";;; " cusload-base-file
                        " --- automatically extracted custom dependencies\n"
-                       "\n;;; Code:\n\n")
+                       "\n;;; Code:\n\n"
+                       "(autoload 'custom-add-loads \"cus-load\")\n\n")
                (mapatoms
                 (lambda (sym)
                   (let ((members (get sym 'custom-group))
@@ -173,7 +174,7 @@ Batch usage: xemacs -batch -l cus-dep.el -f Custom-make-dependencies DIRS"
                           (if found
                               (insert " ")
                             (insert "(custom-add-loads '"
-                                    (symbol-name sym) " '("))
+                                    (prin1-to-string sym) " '("))
                           (prin1 where (current-buffer))
                           (push where found)))
                       (when found