1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(custom-declare-variable): Just put symbol instead of (defvar . symbol)

on `current-load-list'.
This commit is contained in:
John Paul Wallington 2005-01-12 22:49:19 +00:00
parent 9deb0abaf8
commit 808882608a
2 changed files with 6 additions and 1 deletions

View file

@ -168,7 +168,7 @@ set to nil, as the value is no longer rogue."
;; Do the actual initialization.
(unless custom-dont-initialize
(funcall initialize symbol default)))
(push (cons 'defvar symbol) current-load-list)
(push symbol current-load-list)
(run-hooks 'custom-define-hook)
symbol)