Mercurial > emacs
diff lispref/modes.texi @ 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 | 6b323e275ccb |
children | 3ee5685f7930 |
line wrap: on
line diff
--- 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