aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2006-07-13 18:13:06 +0000
committerStefan Monnier2006-07-13 18:13:06 +0000
commit02dcdad34e95289a98dfb5784cb4c51f16fe0ae5 (patch)
tree823e6b8351f3f9fc51688a06e0917683ab3e9bc4 /lisp
parente17833bc7d723d70600ab8df9a3cce04f01544ea (diff)
downloademacs-02dcdad34e95289a98dfb5784cb4c51f16fe0ae5.tar.gz
emacs-02dcdad34e95289a98dfb5784cb4c51f16fe0ae5.zip
(make-autoload): Remove special handling of
minor modes, redundant with the custom-autoload line above.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog12
-rw-r--r--lisp/emacs-lisp/autoload.el12
2 files changed, 9 insertions, 15 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b23e8b538b0..b73a218acfc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,7 +1,11 @@
12006-07-13 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/autoload.el (make-autoload): Remove special handling of
4 minor modes, redundant with the custom-autoload line above.
5
12006-07-12 Chong Yidong <cyd@stupidchicken.com> 62006-07-12 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * longlines.el (longlines-post-command-function): Handle open-line 8 * longlines.el (longlines-post-command-function): Handle open-line too.
4 too.
5 9
62006-07-12 Richard Stallman <rms@gnu.org> 102006-07-12 Richard Stallman <rms@gnu.org>
7 11
@@ -55,8 +59,8 @@
55 (vc-print-log): Run log-view-mode in process sentinel inside 59 (vc-print-log): Run log-view-mode in process sentinel inside
56 inhibit-read-only. Don't shrink window due to timing issues. 60 inhibit-read-only. Don't shrink window due to timing issues.
57 61
58 * progmodes/ebrowse.el (ebrowse-display-member-buffer): Avoid 62 * progmodes/ebrowse.el (ebrowse-display-member-buffer):
59 using with-output-to-temp-buffer, which clobbers local vars. 63 Avoid using with-output-to-temp-buffer, which clobbers local vars.
60 64
612006-07-11 Stefan Monnier <monnier@iro.umontreal.ca> 652006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
62 66
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index 76699f10df8..4000b4da282 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -124,17 +124,7 @@ or macro definition or a defcustom)."
124 ) 124 )
125 `(progn 125 `(progn
126 (defvar ,varname ,init ,doc) 126 (defvar ,varname ,init ,doc)
127 (custom-autoload ',varname ,file) 127 (custom-autoload ',varname ,file))))
128 ;; The use of :require in a defcustom can be annoying, especially
129 ;; when defcustoms are moved from one file to another between
130 ;; releases because the :require arg gets placed in the user's
131 ;; .emacs. In order for autoloaded minor modes not to need the
132 ;; use of :require, we arrange to store their :setter.
133 ,(let ((setter (condition-case nil
134 (cadr (memq :set form))
135 (error nil))))
136 (if (equal setter ''custom-set-minor-mode)
137 `(put ',varname 'custom-set 'custom-set-minor-mode))))))
138 128
139 ((eq car 'defgroup) 129 ((eq car 'defgroup)
140 ;; In Emacs this is normally handled separately by cus-dep.el, but for 130 ;; In Emacs this is normally handled separately by cus-dep.el, but for