aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2005-11-16 18:11:34 +0000
committerStefan Monnier2005-11-16 18:11:34 +0000
commit16b4c38b1dd7f65d0d5f54863bf950810a419708 (patch)
tree3da19464c298224a13dd5f80f3e2aa146ffab52b
parented5a258ad1d3be05d678568edfb68a6ff0bd6ebd (diff)
downloademacs-16b4c38b1dd7f65d0d5f54863bf950810a419708.tar.gz
emacs-16b4c38b1dd7f65d0d5f54863bf950810a419708.zip
(Minor Mode Conventions): Use custom-set-minor-mode.
(Minor Mode Conventions): Mention the use of a hook.
-rw-r--r--lispref/ChangeLog1
-rw-r--r--lispref/modes.texi4
2 files changed, 3 insertions, 2 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index dc2e92296ef..d8014b27613 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,6 +1,7 @@
12005-11-16 Stefan Monnier <monnier@iro.umontreal.ca> 12005-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * modes.texi (Minor Mode Conventions): Use custom-set-minor-mode. 3 * modes.texi (Minor Mode Conventions): Use custom-set-minor-mode.
4 (Minor Mode Conventions): Mention the use of a hook.
4 5
52005-11-06 Richard M. Stallman <rms@gnu.org> 62005-11-06 Richard M. Stallman <rms@gnu.org>
6 7
diff --git a/lispref/modes.texi b/lispref/modes.texi
index 5dc9873fe96..f0513704b1f 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -1214,8 +1214,8 @@ The value of this variable is a list of all minor mode commands.
1214 There are conventions for writing minor modes just as there are for 1214 There are conventions for writing minor modes just as there are for
1215major modes. Several of the major mode conventions apply to minor 1215major modes. Several of the major mode conventions apply to minor
1216modes as well: those regarding the name of the mode initialization 1216modes as well: those regarding the name of the mode initialization
1217function, the names of global symbols, and the use of keymaps and 1217function, the names of global symbols, the use of a hook at the end of
1218other tables. 1218the initialization function, and the use of keymaps and other tables.
1219 1219
1220 In addition, there are several conventions that are specific to 1220 In addition, there are several conventions that are specific to
1221minor modes. (The easiest way to follow all the conventions is to use 1221minor modes. (The easiest way to follow all the conventions is to use