;;; 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
(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.
(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