diff options
| author | Richard M. Stallman | 2003-06-30 10:43:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-06-30 10:43:01 +0000 |
| commit | 6fe508678c84a0291bd95e0f726c14335a5dccff (patch) | |
| tree | 3e7d18bda01cd49d0a55d1f4fee7438c151be60c | |
| parent | 74eee906cca8f02e46d7399c35b1051344d7d2d5 (diff) | |
| download | emacs-6fe508678c84a0291bd95e0f726c14335a5dccff.tar.gz emacs-6fe508678c84a0291bd95e0f726c14335a5dccff.zip | |
Minor Texinfo usage fix.
| -rw-r--r-- | lispref/lists.texi | 10 | ||||
| -rw-r--r-- | lispref/minibuf.texi | 12 | ||||
| -rw-r--r-- | lispref/modes.texi | 6 | ||||
| -rw-r--r-- | lispref/nonascii.texi | 4 | ||||
| -rw-r--r-- | lispref/variables.texi | 14 |
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 |
| 387 | This function returns the last link of @var{list}. The | 387 | This 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 | 388 | this link is the list's last element. If @var{list} is null, |
| 389 | null, @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. | 391 | if @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 | ||
| 187 | The optional argument @var{history}, if non-nil, specifies a history | 187 | The optional argument @var{history}, if non-@code{nil}, specifies a |
| 188 | list and optionally the initial position in the list. The optional | 188 | history list and optionally the initial position in the list. The |
| 189 | argument @var{default} specifies a default value to return if the user | 189 | optional argument @var{default} specifies a default value to return if |
| 190 | enters null input; it should be a string. The optional argument | 190 | the user enters null input; it should be a string. The optional |
| 191 | @var{inherit-input-method} specifies whether to inherit the current | 191 | argument @var{inherit-input-method} specifies whether to inherit the |
| 192 | buffer's input method. | 192 | current buffer's input method. |
| 193 | 193 | ||
| 194 | This function is a simplified interface to the | 194 | This 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 | |||
| 2105 | If your mode does not use any of the other machinery of Font Lock | 2105 | If 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 |
| 2107 | Emacs not to load all of font-lock.el (unless it's already loaded), by | 2107 | Emacs not to load all of font-lock.el (unless it's already loaded), by |
| 2108 | setting the variable @code{font-lock-core-only} to non-nil as part of | 2108 | setting the variable @code{font-lock-core-only} to non-@code{nil} as |
| 2109 | the @code{font-lock-defaults} settings. Here is the canonical way to | 2109 | part of the @code{font-lock-defaults} settings. Here is the canonical |
| 2110 | do this: | 2110 | way 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 | ||
| 276 | If the optional argument @var{genericp} is non-nil, this function | 276 | If the optional argument @var{genericp} is non-@code{nil}, this |
| 277 | returns @code{t} if @var{charcode} is a generic character | 277 | function 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 |
| 579 | forms are used while the variable has a local binding, they set the | 579 | forms are used while the variable has a local binding (made with |
| 580 | local 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 |
| 581 | what you usually want. To prevent it, use these special forms at top | 581 | value; the top-level binding is not changed. This is not what you |
| 582 | level in a file, where normally no local binding is in effect, and make | 582 | usually want. To prevent it, use these special forms at top level in |
| 583 | sure to load the file before making a local binding for the variable. | 583 | a file, where normally no local binding is in effect, and make sure to |
| 584 | load 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 |
| 1752 | Returns non-nil if @var{sym} is risky for any of the reasons stated above. | 1753 | Returns non-@code{nil} if @var{sym} is risky for any of the reasons |
| 1754 | stated 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 |