changeset 66933:6b323e275ccb

(Minor Mode Conventions): Use custom-set-minor-mode.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 16 Nov 2005 17:14:37 +0000
parents 29c20df6248f
children f24fb79ea180
files lispref/ChangeLog lispref/modes.texi
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/ChangeLog	Wed Nov 16 17:00:29 2005 +0000
+++ b/lispref/ChangeLog	Wed Nov 16 17:14:37 2005 +0000
@@ -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
--- a/lispref/modes.texi	Wed Nov 16 17:00:29 2005 +0000
+++ b/lispref/modes.texi	Wed Nov 16 17:14:37 2005 +0000
@@ -1327,8 +1327,7 @@
   "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