Mercurial > emacs
comparison doc/lispref/modes.texi @ 109250:d3b4a3311253
* modes.texi (Minor Mode Conventions): Fix typo (Bug#6477).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 20 Jun 2010 12:30:27 -0400 |
parents | 1d1d5d9bd884 |
children | 3241579568b9 |
comparison
equal
deleted
inserted
replaced
109249:452ecb3f69c0 | 109250:d3b4a3311253 |
---|---|
1340 @end itemize | 1340 @end itemize |
1341 | 1341 |
1342 Global minor modes distributed with Emacs should if possible support | 1342 Global minor modes distributed with Emacs should if possible support |
1343 enabling and disabling via Custom (@pxref{Customization}). To do this, | 1343 enabling and disabling via Custom (@pxref{Customization}). To do this, |
1344 the first step is to define the mode variable with @code{defcustom}, and | 1344 the first step is to define the mode variable with @code{defcustom}, and |
1345 specify @code{:type boolean}. | 1345 specify @code{:type 'boolean}. |
1346 | 1346 |
1347 If just setting the variable is not sufficient to enable the mode, you | 1347 If just setting the variable is not sufficient to enable the mode, you |
1348 should also specify a @code{:set} method which enables the mode by | 1348 should also specify a @code{:set} method which enables the mode by |
1349 invoking the mode command. Note in the variable's documentation string that | 1349 invoking the mode command. Note in the variable's documentation string that |
1350 setting the variable other than via Custom may not take effect. | 1350 setting the variable other than via Custom may not take effect. |