diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-11-16 17:14:37 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-11-16 17:14:37 +0000 |
commit | 3f5cab7c00e615a90d7017ca7b9ab56e0503db8c (patch) | |
tree | 270f1dce529352856fc5b26fd7189f1387b8e09e /lispref | |
parent | 215dabcc6acc048c1e4a30110fe099e120da9c64 (diff) | |
download | emacs-3f5cab7c00e615a90d7017ca7b9ab56e0503db8c.tar.gz |
(Minor Mode Conventions): Use custom-set-minor-mode.
Diffstat (limited to 'lispref')
-rw-r--r-- | lispref/ChangeLog | 8 | ||||
-rw-r--r-- | lispref/modes.texi | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 3eb27dd4c5e..dc2e92296ef 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,7 @@ +2005-11-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * modes.texi (Minor Mode Conventions): Use custom-set-minor-mode. + 2005-11-06 Richard M. Stallman <rms@gnu.org> * files.texi (Magic File Names): find-file-name-handler checks the @@ -31,9 +35,9 @@ 2005-10-27 Masatake YAMATO <jet@gyve.org> - * minibuf.texi (Completion Commands): + * minibuf.texi (Completion Commands): Write about new optional argument for `display-completion-list'. - + 2005-10-23 Richard M. Stallman <rms@gnu.org> * display.texi (Overlay Arrow): Clarify about local bindings of diff --git a/lispref/modes.texi b/lispref/modes.texi index 00b58f0a9ff..5dc9873fe96 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi @@ -1327,8 +1327,7 @@ enable the mode. For example: "Toggle msb-mode. Setting this variable directly does not take effect; use either \\[customize] or the function `msb-mode'." - :set (lambda (symbol value) - (msb-mode (or value 0))) + :set 'custom-set-minor-mode :initialize 'custom-initialize-default :version "20.4" :type 'boolean |