]> git.eshelyaron.com Git - emacs.git/commitdiff
(make-autoload): Use new arg.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 17 Jul 2006 21:27:17 +0000 (21:27 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 17 Jul 2006 21:27:17 +0000 (21:27 +0000)
lisp/ChangeLog
lisp/emacs-lisp/autoload.el

index f08169f3ac58581b4750c07f2ba7b78e858d6f48..22d4caba8843fd1fe709a431822c15702b6bf957 100644 (file)
@@ -1,5 +1,18 @@
 2006-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * emacs-lisp/autoload.el (make-autoload): Use new arg.
+
+       * custom.el (custom-autoload): Add `noset' argument.
+       (custom-push-theme): Don't autoload the variable, let callers do it.
+       (custom-theme-set-variables): Autoload the variable if necessary.
+
+       * cus-edit.el (custom-variable-state-set): If the variable was
+       originally set outside custom, but to the same value as the default,
+       consider it to be standard.
+
+       * Makefile.in (mh-loaddefs.el): Finish setting up the default empty
+       file *before* telling Emacs to add the autoloads, in case it fails.
+
        * progmodes/sh-script.el (sh-quoted-subshell): Don't match escaped `.
        Use `cond', push', and `dolist'.
 
index 4000b4da28209befb49fe91a6aa100b647a51a0b..da85cbd817a838f8e137ac4c24a91f6e5bc924ac 100644 (file)
@@ -124,7 +124,10 @@ or macro definition or a defcustom)."
            )
        `(progn
           (defvar ,varname ,init ,doc)
-          (custom-autoload ',varname ,file))))
+          (custom-autoload ',varname ,file
+                            ,(condition-case nil
+                                 (null (cadr (memq :set form)))
+                               (error nil))))))
 
      ((eq car 'defgroup)
       ;; In Emacs this is normally handled separately by cus-dep.el, but for