From cbad4a9ef815832eae5bf4a10e61eb52d1e681f4 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 16 Nov 2005 17:14:37 +0000 Subject: [PATCH] (Minor Mode Conventions): Use custom-set-minor-mode. --- lispref/ChangeLog | 8 ++++++-- 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 + + * modes.texi (Minor Mode Conventions): Use custom-set-minor-mode. + 2005-11-06 Richard M. Stallman * files.texi (Magic File Names): find-file-name-handler checks the @@ -31,9 +35,9 @@ 2005-10-27 Masatake YAMATO - * minibuf.texi (Completion Commands): + * minibuf.texi (Completion Commands): Write about new optional argument for `display-completion-list'. - + 2005-10-23 Richard M. Stallman * 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 -- 2.39.5