]> code.delx.au - gnu-emacs/commitdiff
* doc/lispref/modes.texi (Defining Minor Modes, SMIE Lexer): Markup fixes.
authorGlenn Morris <rgm@gnu.org>
Wed, 24 Dec 2014 23:57:34 +0000 (15:57 -0800)
committerGlenn Morris <rgm@gnu.org>
Wed, 24 Dec 2014 23:57:34 +0000 (15:57 -0800)
doc/lispref/ChangeLog
doc/lispref/modes.texi

index 5bf23bc895d61d786483cd8ae08b8c29156f616e..9ab84afde40ed17cc0f828b58f49bd77700e4467 100644 (file)
@@ -1,3 +1,7 @@
+2014-12-24  Glenn Morris  <rgm@gnu.org>
+
+       * modes.texi (Defining Minor Modes, SMIE Lexer): Markup fixes.
+
 2014-12-23  Eli Zaretskii  <eliz@gnu.org>
 
        * windows.texi (Recombining Windows): Index subject of sections.
index d67bac63b15476ae9bd9139a6daeb37798ae11e2..509982a008e1f1822796c55c56ed8be344cfebed 100644 (file)
@@ -1490,7 +1490,7 @@ A positive prefix argument enables the mode, any other prefix argument
 disables it.  From Lisp, an argument of @code{toggle} toggles the mode,
 whereas an omitted or @code{nil} argument enables the mode.
 This makes it easy to enable the minor mode in a major mode hook, for example.
-If @var{doc} is nil, the macro supplies a default documentation string
+If @var{doc} is @code{nil}, the macro supplies a default documentation string
 explaining the above.
 
 By default, it also defines a variable named @var{mode}, which is set to
@@ -3659,7 +3659,7 @@ For example:
 Notice how those lexers return the empty string when in front of
 parentheses.  This is because SMIE automatically takes care of the
 parentheses defined in the syntax table.  More specifically if the lexer
-returns nil or an empty string, SMIE tries to handle the corresponding
+returns @code{nil} or an empty string, SMIE tries to handle the corresponding
 text as a sexp according to syntax tables.
 
 @node SMIE Tricks