]> git.eshelyaron.com Git - emacs.git/commitdiff
(define-minor-mode): Don't automatically add a :require to the defcustom.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 26 Jun 2005 18:21:46 +0000 (18:21 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 26 Jun 2005 18:21:46 +0000 (18:21 +0000)
lisp/ChangeLog
lisp/emacs-lisp/easy-mmode.el

index 82c389f3f08a65ee7a2b0557cd59f856caf9b182..bd5a4d8503185064a01449682be3452790488d05 100644 (file)
@@ -1,3 +1,11 @@
+2005-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/easy-mmode.el (define-minor-mode): Don't automatically add
+       a :require to the defcustom.
+
+       * emacs-lisp/autoload.el (make-autoload): Add the :setter for
+       defcustoms corresponding to minor modes.
+
 2005-06-26  David Ponce  <david@dponce.com>
 
        * recentf.el: Require 'tree-widget instead of 'wid-edit.
@@ -6,8 +14,8 @@
        (recentf-open-files-action): Doc fix.
        (recentf-dialog-goto-first): New function.
        (recentf-dialog-mode-map): Set parent keymap first.
-       (recentf-dialog-mode): Define with define-derived-mode.  Don't
-       display continuation lines in dialogs.
+       (recentf-dialog-mode): Define with define-derived-mode.
+       Don't display continuation lines in dialogs.
        (recentf-edit-list): Rename from recentf-edit-selected-items.
        (recentf-edit-list-select): Rename from recentf-edit-list-action.
        Simplify.
        (line-move-1): When there are overlays around, use vertical-motion.
 
        * faces.el (escape-glyph): Use brown against light background.
-       (nobreak-space): Renamed from no-break-space.
+       (nobreak-space): Rename from no-break-space.
        Fix previous change.
 
        * dired-aux.el (dired-do-copy): Fix arg prompt.
        * bindings.el (propertized-buffer-identification): Use renamed
        `Buffer-menu-buffer' face.
 
-       * faces.el (vertical-border): Renamed from `vertical-divider'.
+       * faces.el (vertical-border): Rename from `vertical-divider'.
        (escape-glyph): Change dark-background color back to `cyan'.
 
 2005-06-21  Juri Linkov  <juri@jurta.org>
 
 2005-06-18  Peter Kleiweg  <p.c.j.kleiweg@rug.nl>
 
-       * progmodes/ps-mode.el: Update version and maintainer's email
-       address.
+       * progmodes/ps-mode.el: Update version and maintainer's email address.
 
 2005-06-18  Steve Youngs  <steve@xemacs.org>
 
        New backward-compatibility aliases for renamed faces.
        (eshell-ls-decorated-name): Use renamed eshell-ls faces.
 
-       * progmodes/cc-fonts.el (c-nonbreakable-space-face): Remove
-       "-face" suffix from face name.
+       * progmodes/cc-fonts.el (c-nonbreakable-space-face):
+       Remove "-face" suffix from face name.
        (c-cpp-matchers): Use the variable `c-nonbreakable-space-face'
        instead of literal face.
 
        ido-incomplete-regexp.
        (ido-incomplete-regexp): New face.
        (ido-completions): Use it.
-       (ido-complete, ido-exit-minibuffer, ido-completions): Handle
-       incomplete regexps.
+       (ido-complete, ido-exit-minibuffer, ido-completions):
+       Handle incomplete regexps.
        (ido-completions): Add check for complete match when entering a regexp.
 
 2005-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
index a342f8a5530e0af059db54e20035f71d5cdae9b5..6ee87919d38bdb04ebf87090dde9cb0c7dc0d272 100644 (file)
@@ -201,10 +201,7 @@ See the command `%s' for a description of this minor-mode."))
               :type 'boolean
               ,@(cond
                  ((not (and curfile require)) nil)
-                 ((not (eq require t)) `(:require ,require))
-                 (t `(:require
-                      ',(intern (file-name-nondirectory
-                                 (file-name-sans-extension curfile))))))
+                 ((not (eq require t)) `(:require ,require)))
               ,@(nreverse extra-keywords))))
 
        ;; The actual function.