emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 73c050c: * doc/lispref/modes.texi (Defining Minor


From: Glenn Morris
Subject: [Emacs-diffs] emacs-24 73c050c: * doc/lispref/modes.texi (Defining Minor Modes, SMIE Lexer): Markup fixes.
Date: Wed, 24 Dec 2014 23:57:42 +0000

branch: emacs-24
commit 73c050cce729cd873aa1d4cdc6834c1e78a429b1
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * doc/lispref/modes.texi (Defining Minor Modes, SMIE Lexer): Markup fixes.
---
 doc/lispref/ChangeLog  |    4 ++++
 doc/lispref/modes.texi |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 5bf23bc..9ab84af 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-24  Glenn Morris  <address@hidden>
+
+       * modes.texi (Defining Minor Modes, SMIE Lexer): Markup fixes.
+
 2014-12-23  Eli Zaretskii  <address@hidden>
 
        * windows.texi (Recombining Windows): Index subject of sections.
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index d67bac6..509982a 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]