changeset 66935:1af402fe3e48

(Minor Mode Conventions): Use custom-set-minor-mode. (Minor Mode Conventions): Mention the use of a hook.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 16 Nov 2005 18:11:34 +0000
parents f24fb79ea180
children 3d572e08dd1d
files lispref/ChangeLog lispref/modes.texi
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/ChangeLog	Wed Nov 16 17:20:25 2005 +0000
+++ b/lispref/ChangeLog	Wed Nov 16 18:11:34 2005 +0000
@@ -1,6 +1,7 @@
 2005-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* modes.texi (Minor Mode Conventions): Use custom-set-minor-mode.
+	(Minor Mode Conventions): Mention the use of a hook.
 
 2005-11-06  Richard M. Stallman  <rms@gnu.org>
 
--- a/lispref/modes.texi	Wed Nov 16 17:20:25 2005 +0000
+++ b/lispref/modes.texi	Wed Nov 16 18:11:34 2005 +0000
@@ -1214,8 +1214,8 @@
   There are conventions for writing minor modes just as there are for
 major modes.  Several of the major mode conventions apply to minor
 modes as well: those regarding the name of the mode initialization
-function, the names of global symbols, and the use of keymaps and
-other tables.
+function, the names of global symbols, the use of a hook at the end of
+the initialization function, and the use of keymaps and other tables.
 
   In addition, there are several conventions that are specific to
 minor modes.  (The easiest way to follow all the conventions is to use