# HG changeset patch # User Stefan Monnier # Date 1132164694 0 # Node ID 1af402fe3e486a029885f494472b4b20d7763cc8 # Parent f24fb79ea180201f6af07b467cb05e4e37fc9396 (Minor Mode Conventions): Use custom-set-minor-mode. (Minor Mode Conventions): Mention the use of a hook. diff -r f24fb79ea180 -r 1af402fe3e48 lispref/ChangeLog --- 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 * 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 diff -r f24fb79ea180 -r 1af402fe3e48 lispref/modes.texi --- 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