From 808882608af70b6993de814cba46ee23f74bcaca Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Wed, 12 Jan 2005 22:49:19 +0000 Subject: [PATCH] (custom-declare-variable): Just put symbol instead of (defvar . symbol) on `current-load-list'. --- lisp/ChangeLog | 5 +++++ lisp/custom.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9a8a56f2e64..c1840d8ead7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-01-12 Johan Bockg,Ae(Brd + + * custom.el (custom-declare-variable): Just put symbol instead + of (defvar . symbol) on `current-load-list'. + 2005-01-12 Reiner Steib * emacs-lisp/elint.el: Fixed typo in Commentary section. diff --git a/lisp/custom.el b/lisp/custom.el index 5fea8c5d12d..e7aba88f72a 100644 --- a/lisp/custom.el +++ b/lisp/custom.el @@ -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) -- 2.11.4.GIT