]> code.delx.au - gnu-emacs/blobdiff - lisp/cus-dep.el
*** empty log message ***
[gnu-emacs] / lisp / cus-dep.el
index 985a428384ecafe451d8021d95b00e80b35ec1bb..b9b1a6040c971f1db52e6e15b3737f549340e078 100644 (file)
@@ -1,6 +1,7 @@
 ;;; cus-dep.el --- find customization dependencies
 ;;
-;; Copyright (C) 1997, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+;; Copyright (C) 1997, 2002, 2003, 2004, 2005,
+;;   2006 Free Software Foundation, Inc.
 ;;
 ;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
 ;; Keywords: internal
@@ -31,7 +32,7 @@
 (require 'cus-face)
 
 (defvar generated-custom-dependencies-file "cus-load.el"
-  "File \\[cusom-make-dependencies] puts custom dependencies into.")
+  "Output file for \\[custom-make-dependencies].")
 
 (defun custom-make-dependencies ()
   "Batch function to extract custom dependencies from .el files.
@@ -98,7 +99,7 @@ Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies DIRS"
                  (when found
                    (insert "(put '" (symbol-name symbol)
                             " 'custom-loads '")
-                    (prin1 found (current-buffer))
+                    (prin1 (nreverse found) (current-buffer))
                     (insert ")\n"))))))
   (insert "\
 ;; These are for handling :version.  We need to have a minimum of