Mercurial > emacs
diff lispref/modes.texi @ 71957:61cb5aae3bc3
Put period and comma inside quotes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 18 Jul 2006 00:08:15 +0000 |
parents | 6bc43bba870c |
children | 372038a731dd 8a8e69664178 |
line wrap: on
line diff
--- a/lispref/modes.texi Tue Jul 18 00:07:05 2006 +0000 +++ b/lispref/modes.texi Tue Jul 18 00:08:15 2006 +0000 @@ -145,7 +145,7 @@ It is best to design your hook functions so that the order in which they are executed does not matter. Any dependence on the order is ``asking -for trouble''. However, the order is predictable: normally, +for trouble.'' However, the order is predictable: normally, @var{function} goes at the front of the hook list, so it will be executed first (barring another @code{add-hook} call). If the optional argument @var{append} is non-@code{nil}, the new hook function goes at @@ -1139,7 +1139,7 @@ When you defined a major mode using @code{define-derived-mode}, it automatically makes sure these conventions are followed. If you -define a major mode ``from scratch'', not using +define a major mode ``from scratch,'' not using @code{define-derived-mode}, make sure the major mode command follows these and other conventions. @xref{Major Mode Conventions}. You use these functions to do it properly. @@ -1456,7 +1456,7 @@ @end smallexample @noindent -This defines a minor mode named ``Hungry mode'', a command named +This defines a minor mode named ``Hungry mode,'' a command named @code{hungry-mode} to toggle it, a variable named @code{hungry-mode} which indicates whether the mode is enabled, and a variable named @code{hungry-mode-map} which holds the keymap that is active when the