diff options
| -rw-r--r-- | lisp/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/emacs-lisp/autoload.el | 5 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f08169f3ac5..22d4caba884 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,18 @@ | |||
| 1 | 2006-07-17 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2006-07-17 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * emacs-lisp/autoload.el (make-autoload): Use new arg. | ||
| 4 | |||
| 5 | * custom.el (custom-autoload): Add `noset' argument. | ||
| 6 | (custom-push-theme): Don't autoload the variable, let callers do it. | ||
| 7 | (custom-theme-set-variables): Autoload the variable if necessary. | ||
| 8 | |||
| 9 | * cus-edit.el (custom-variable-state-set): If the variable was | ||
| 10 | originally set outside custom, but to the same value as the default, | ||
| 11 | consider it to be standard. | ||
| 12 | |||
| 13 | * Makefile.in (mh-loaddefs.el): Finish setting up the default empty | ||
| 14 | file *before* telling Emacs to add the autoloads, in case it fails. | ||
| 15 | |||
| 3 | * progmodes/sh-script.el (sh-quoted-subshell): Don't match escaped `. | 16 | * progmodes/sh-script.el (sh-quoted-subshell): Don't match escaped `. |
| 4 | Use `cond', push', and `dolist'. | 17 | Use `cond', push', and `dolist'. |
| 5 | 18 | ||
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 4000b4da282..da85cbd817a 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el | |||
| @@ -124,7 +124,10 @@ 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 | ,(condition-case nil | ||
| 129 | (null (cadr (memq :set form))) | ||
| 130 | (error nil)))))) | ||
| 128 | 131 | ||
| 129 | ((eq car 'defgroup) | 132 | ((eq car 'defgroup) |
| 130 | ;; In Emacs this is normally handled separately by cus-dep.el, but for | 133 | ;; In Emacs this is normally handled separately by cus-dep.el, but for |