]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug #13292 with use of @var in @def.. commands in ELisp manual.
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 Dec 2012 08:23:21 +0000 (10:23 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 29 Dec 2012 08:23:21 +0000 (10:23 +0200)
 doc/lispref/functions.texi (Declare Form):
 doc/lispref/intro.texi (A Sample Function Description):
 doc/lispref/syntax.texi (Syntax Table Internals, Syntax Table Functions):
 doc/lispref/variables.texi (Using Lexical Binding): Don't use @var or CAPS
 in @def.. commands.

doc/lispref/ChangeLog
doc/lispref/functions.texi
doc/lispref/intro.texi
doc/lispref/syntax.texi
doc/lispref/variables.texi

index f77e68aadc42bdaaaf28549219e89c59330f7733..a52268fc7e73981889061124668662862d1b51f8 100644 (file)
@@ -1,3 +1,11 @@
+2012-12-29  Wolfgang Jenkner  <wjenkner@inode.at>
+
+       * functions.texi (Declare Form):
+       * intro.texi (A Sample Function Description):
+       * syntax.texi (Syntax Table Internals, Syntax Table Functions):
+       * variables.texi (Using Lexical Binding): Don't use @var or CAPS
+       in @def.. commands.  (Bug#13292)
+
 2012-12-27  Glenn Morris  <rgm@gnu.org>
 
        * files.texi (File Names): Mention Cygwin conversion functions.
index 531172031dc4da6fa385477340c91f31d3c2d055..10041bb664a9e8aafc3bcc86a8c80440ea5be18b 100644 (file)
@@ -1266,7 +1266,7 @@ obsolete, or giving its forms a special @key{TAB} indentation
 convention in Emacs Lisp mode.
 
 @anchor{Definition of declare}
-@defmac declare @var{specs}@dots{}
+@defmac declare specs@dots{}
 This macro ignores its arguments and evaluates to @code{nil}; it has
 no run-time effect.  However, when a @code{declare} form occurs in the
 @var{declare} argument of a @code{defun} or @code{defsubst} function
index 12463dac09cc8fd27aaa391537ce07e561049a7b..bee43a9bc3fc2663828f4dddc687737cf3b3b452 100644 (file)
@@ -408,7 +408,7 @@ stands for zero or more arguments.  Parentheses are used when several
 arguments are grouped into additional levels of list structure.  Here
 is an example:
 
-@defspec count-loop (@var{var} [@var{from} @var{to} [@var{inc}]]) @var{body}@dots{}
+@defspec count-loop (var [from to [inc]]) body@dots{}
 This imaginary special form implements a loop that executes the
 @var{body} forms and then increments the variable @var{var} on each
 iteration.  On the first iteration, the variable has the value
index c773ca74d96642d41b566f89b1454885fc638ab4..777bae6573b28a6b11b275e631b6a57d0aa92829 100644 (file)
@@ -506,7 +506,7 @@ This function returns the current syntax table, which is the table for
 the current buffer.
 @end defun
 
-@defmac with-syntax-table @var{table} @var{body}@dots{}
+@defmac with-syntax-table table body@dots{}
 This macro executes @var{body} using @var{table} as the current syntax
 table.  It returns the value of the last form in @var{body}, after
 restoring the old current syntax table.
@@ -998,7 +998,7 @@ corresponds to each syntax flag.
 @samp{4} @tab @code{(lsh 1 19)}
 @end multitable
 
-@defun string-to-syntax @var{desc}
+@defun string-to-syntax desc
 Given a syntax descriptor @var{desc} (a string), this function returns
 the corresponding raw syntax descriptor.
 @end defun
index 4103c30f66348372caf59c989611045b1dfec993..79f5eaa7c2603547e9d3215165b56575f7082291 100644 (file)
@@ -1057,7 +1057,7 @@ variables}.  Every variable that has been defined with @code{defvar},
 (@pxref{Defining Variables}).  All other variables are subject to
 lexical binding.
 
-@defun special-variable-p SYMBOL
+@defun special-variable-p symbol
 This function returns non-@code{nil} if @var{symbol} is a special
 variable (i.e., it has a @code{defvar}, @code{defcustom}, or
 @code{defconst} variable definition).  Otherwise, the return value is