aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/emacs-lisp/autoload.el9
2 files changed, 11 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 104ca5c1622..4fb2cdf5ebe 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12005-11-30 Stefan Monnier <monnier@iro.umontreal.ca> 12005-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * emacs-lisp/autoload.el (make-autoload): Handle defgroup specially.
4
3 * help-fns.el (help-argument-name): Don't autoload. 5 * help-fns.el (help-argument-name): Don't autoload.
4 It's useless and triggers a bug in cus-dep.el causing ldefs-boot 6 It's useless and triggers a bug in cus-dep.el causing ldefs-boot
5 to be re-loaded when customizing the `help' group. 7 to be re-loaded when customizing the `help' group.
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index ff795e6de77..2356483b233 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -135,6 +135,15 @@ or macro definition or a defcustom)."
135 (if (equal setter ''custom-set-minor-mode) 135 (if (equal setter ''custom-set-minor-mode)
136 `(put ',varname 'custom-set 'custom-set-minor-mode)))))) 136 `(put ',varname 'custom-set 'custom-set-minor-mode))))))
137 137
138 ((eq car 'defgroup)
139 ;; In Emacs this is normally handled separately by cus-dep.el, but for
140 ;; third party packages, it can be convenient to explicitly autoload
141 ;; a group.
142 (let ((groupname (nth 1 form)))
143 `(let ((loads (get ',groupname 'custom-loads)))
144 (if (member ',file loads) nil
145 (put ',groupname 'custom-loads (cons ',file loads))))))
146
138 ;; nil here indicates that this is not a special autoload form. 147 ;; nil here indicates that this is not a special autoload form.
139 (t nil)))) 148 (t nil))))
140 149