aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-06-30 10:43:01 +0000
committerRichard M. Stallman2003-06-30 10:43:01 +0000
commit6fe508678c84a0291bd95e0f726c14335a5dccff (patch)
tree3e7d18bda01cd49d0a55d1f4fee7438c151be60c
parent74eee906cca8f02e46d7399c35b1051344d7d2d5 (diff)
downloademacs-6fe508678c84a0291bd95e0f726c14335a5dccff.tar.gz
emacs-6fe508678c84a0291bd95e0f726c14335a5dccff.zip
Minor Texinfo usage fix.
-rw-r--r--lispref/lists.texi10
-rw-r--r--lispref/minibuf.texi12
-rw-r--r--lispref/modes.texi6
-rw-r--r--lispref/nonascii.texi4
-rw-r--r--lispref/variables.texi14
5 files changed, 24 insertions, 22 deletions
diff --git a/lispref/lists.texi b/lispref/lists.texi
index 3235daa1d54..e30c7013a59 100644
--- a/lispref/lists.texi
+++ b/lispref/lists.texi
@@ -384,11 +384,11 @@ If @var{n} is zero or negative, @code{nthcdr} returns all of
384@end defun 384@end defun
385 385
386@defun last list &optional n 386@defun last list &optional n
387This function returns the last link of @var{list}. The 387This function returns the last link of @var{list}. The @code{car} of
388@code{car} of this link is the list's last element. If @var{list} is 388this link is the list's last element. If @var{list} is null,
389null, @code{nil} is returned. If @var{n} is non-nil the 389@code{nil} is returned. If @var{n} is non-@code{nil}, the
390@var{n}-th-to-last link is returned instead, or the whole @var{list} if 390@var{n}th-to-last link is returned instead, or the whole of @var{list}
391@var{n} is bigger than @var{list}'s length. 391if @var{n} is bigger than @var{list}'s length.
392@end defun 392@end defun
393 393
394@defun safe-length list 394@defun safe-length list
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi
index bfc5989942d..8229442fdfc 100644
--- a/lispref/minibuf.texi
+++ b/lispref/minibuf.texi
@@ -184,12 +184,12 @@ arguments @var{prompt} and @var{initial} are used as in
184@code{read-from-minibuffer}. The keymap used is 184@code{read-from-minibuffer}. The keymap used is
185@code{minibuffer-local-map}. 185@code{minibuffer-local-map}.
186 186
187The optional argument @var{history}, if non-nil, specifies a history 187The optional argument @var{history}, if non-@code{nil}, specifies a
188list and optionally the initial position in the list. The optional 188history list and optionally the initial position in the list. The
189argument @var{default} specifies a default value to return if the user 189optional argument @var{default} specifies a default value to return if
190enters null input; it should be a string. The optional argument 190the user enters null input; it should be a string. The optional
191@var{inherit-input-method} specifies whether to inherit the current 191argument @var{inherit-input-method} specifies whether to inherit the
192buffer's input method. 192current buffer's input method.
193 193
194This function is a simplified interface to the 194This function is a simplified interface to the
195@code{read-from-minibuffer} function: 195@code{read-from-minibuffer} function:
diff --git a/lispref/modes.texi b/lispref/modes.texi
index 7fea8d167fb..3443dfbc6ca 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -2105,9 +2105,9 @@ which construct their text programmatically, such as
2105If your mode does not use any of the other machinery of Font Lock 2105If your mode does not use any of the other machinery of Font Lock
2106(i.e. it only uses the @code{font-lock-face} property), you can tell 2106(i.e. it only uses the @code{font-lock-face} property), you can tell
2107Emacs not to load all of font-lock.el (unless it's already loaded), by 2107Emacs not to load all of font-lock.el (unless it's already loaded), by
2108setting the variable @code{font-lock-core-only} to non-nil as part of 2108setting the variable @code{font-lock-core-only} to non-@code{nil} as
2109the @code{font-lock-defaults} settings. Here is the canonical way to 2109part of the @code{font-lock-defaults} settings. Here is the canonical
2110do this: 2110way to do this:
2111 2111
2112@example 2112@example
2113(set (make-local-variable 'font-lock-defaults) 2113(set (make-local-variable 'font-lock-defaults)
diff --git a/lispref/nonascii.texi b/lispref/nonascii.texi
index 9a7549d7655..888c5cba796 100644
--- a/lispref/nonascii.texi
+++ b/lispref/nonascii.texi
@@ -273,8 +273,8 @@ text representations.
273 @result{} t 273 @result{} t
274@end example 274@end example
275 275
276If the optional argument @var{genericp} is non-nil, this function 276If the optional argument @var{genericp} is non-@code{nil}, this
277returns @code{t} if @var{charcode} is a generic character 277function returns @code{t} if @var{charcode} is a generic character
278(@pxref{Splitting Characters}). 278(@pxref{Splitting Characters}).
279@end defun 279@end defun
280 280
diff --git a/lispref/variables.texi b/lispref/variables.texi
index 0b316af897c..268b8788500 100644
--- a/lispref/variables.texi
+++ b/lispref/variables.texi
@@ -576,11 +576,12 @@ this feature is largely obsoleted by @code{defcustom}
576(@pxref{Customization}). 576(@pxref{Customization}).
577 577
578 @strong{Warning:} If the @code{defconst} and @code{defvar} special 578 @strong{Warning:} If the @code{defconst} and @code{defvar} special
579forms are used while the variable has a local binding, they set the 579forms are used while the variable has a local binding (made with
580local binding's value; the global binding is not changed. This is not 580@code{let}, or a function argument), they set the local-binding's
581what you usually want. To prevent it, use these special forms at top 581value; the top-level binding is not changed. This is not what you
582level in a file, where normally no local binding is in effect, and make 582usually want. To prevent it, use these special forms at top level in
583sure to load the file before making a local binding for the variable. 583a file, where normally no local binding is in effect, and make sure to
584load the file before making a local binding for the variable.
584 585
585@node Tips for Defining 586@node Tips for Defining
586@section Tips for Defining Variables Robustly 587@section Tips for Defining Variables Robustly
@@ -1749,7 +1750,8 @@ for one of these variables is ignored.
1749@end defvar 1750@end defvar
1750 1751
1751@defun risky-local-variable-p sym 1752@defun risky-local-variable-p sym
1752Returns non-nil if @var{sym} is risky for any of the reasons stated above. 1753Returns non-@code{nil} if @var{sym} is risky for any of the reasons
1754stated above.
1753@end defun 1755@end defun
1754 1756
1755 The @samp{Eval:} ``variable'' is also a potential loophole, so Emacs 1757 The @samp{Eval:} ``variable'' is also a potential loophole, so Emacs