1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-08 15:30:40 -08:00

; Replace (non-)nil with (non-)@code{nil} in texinfo files

* doc/lispref/functions.texi:
* doc/lispref/keymaps.texi:
* doc/lispref/strings.texi:
* doc/misc/cl.texi:
* doc/misc/dbus.texi:
* doc/misc/eshell.texi:
* doc/misc/message.texi:
* doc/misc/ses.texi:
* doc/misc/vtable.texi: Replace (non-)nil with (non-)@code{nil}.
This commit is contained in:
Steven Allen 2024-07-15 18:16:41 +02:00 committed by Michael Albinus
parent 5ec73eca57
commit ecc8516d9c
9 changed files with 25 additions and 23 deletions

View file

@ -2089,7 +2089,7 @@ code) obey the advice and other calls (from C code) do not.
@defmac define-advice symbol (where lambda-list &optional name depth) &rest body @defmac define-advice symbol (where lambda-list &optional name depth) &rest body
This macro defines a piece of advice and adds it to the function named This macro defines a piece of advice and adds it to the function named
@var{symbol}. If @var{name} is non-nil, the advice is named @var{symbol}. If @var{name} is non-@code{nil}, the advice is named
@code{@var{symbol}@@@var{name}} and installed with the name @var{name}; otherwise, @code{@var{symbol}@@@var{name}} and installed with the name @var{name}; otherwise,
the advice is anonymous. See @code{advice-add} for explanation of the advice is anonymous. See @code{advice-add} for explanation of
other arguments. other arguments.

View file

@ -2603,10 +2603,10 @@ operates on menu data structures, so you should write it so it can
safely be called at any time. safely be called at any time.
@item :wrap @var{wrap-p} @item :wrap @var{wrap-p}
If @var{wrap-p} is non-nil inside a tool bar, the menu item is not If @var{wrap-p} is non-@code{nil} inside a tool bar, the menu item is
displayed, but instead causes subsequent items to be displayed on a not displayed, but instead causes subsequent items to be displayed on
new line. This is not supported when Emacs uses the GTK+ or Nextstep a new line. This is not supported when Emacs uses the GTK+ or
toolkits. Nextstep toolkits.
@end table @end table
@node Menu Separators @node Menu Separators

View file

@ -1499,7 +1499,7 @@ case.
The definition of a word is any sequence of consecutive characters that The definition of a word is any sequence of consecutive characters that
are assigned to the word constituent syntax class in the current syntax are assigned to the word constituent syntax class in the current syntax
table (@pxref{Syntax Class Table}); if @code{case-symbols-as-words} table (@pxref{Syntax Class Table}); if @code{case-symbols-as-words}
is non-nil, characters assigned to the symbol constituent syntax is non-@code{nil}, characters assigned to the symbol constituent syntax
class are also considered as word constituent. class are also considered as word constituent.
When @var{string-or-char} is a character, this function does the same When @var{string-or-char} is a character, this function does the same

View file

@ -388,10 +388,10 @@ This function prints an ellipsis (``@dots{}'') to @var{stream} (see
above). When @var{stream} is a buffer, the ellipsis will be given the above). When @var{stream} is a buffer, the ellipsis will be given the
@code{cl-print-ellipsis} text property. The value of the text @code{cl-print-ellipsis} text property. The value of the text
property will contain state (including @var{start}) in order to print property will contain state (including @var{start}) in order to print
the elided part of @var{object} later. @var{start} should be nil if the elided part of @var{object} later. @var{start} should be
the whole @var{object} is being elided, otherwise it should be an @code{nil} if the whole @var{object} is being elided, otherwise it
index or other pointer into the internals of @var{object} which can be should be an index or other pointer into the internals of @var{object}
passed to `cl-print-object-contents' at a later time. which can be passed to `cl-print-object-contents' at a later time.
@end defun @end defun
@defvar cl-print-expand-ellipsis-function @defvar cl-print-expand-ellipsis-function

View file

@ -1420,7 +1420,7 @@ We are not an owner of the name @var{service}.
@end table @end table
When @var{service} is not a known name but a unique name, the function When @var{service} is not a known name but a unique name, the function
returns nil. returns @code{nil}.
@end defun @end defun
When a name has been chosen, Emacs can offer its own methods, which When a name has been chosen, Emacs can offer its own methods, which

View file

@ -1758,8 +1758,8 @@ shells, there are also many differences. Don't let these similarities
lull you into a false sense of familiarity. lull you into a false sense of familiarity.
When using command form (@pxref{Invocation}), Eshell will ignore any When using command form (@pxref{Invocation}), Eshell will ignore any
leading nil values, so if @var{foo} is @code{nil}, @samp{$@var{foo} leading @code{nil} values, so if @var{foo} is @code{nil},
echo hello} is equivalent to @samp{echo hello}. @samp{$@var{foo} echo hello} is equivalent to @samp{echo hello}.
@table @code @table @code
@ -2419,8 +2419,9 @@ an @code{eshell-generic-target} as described above).
@defun eshell-function-target-create output-function &optional close-function @defun eshell-function-target-create output-function &optional close-function
Create a new virtual target for Eshell that repeatedly calls Create a new virtual target for Eshell that repeatedly calls
@var{output-function} with the redirected output, as described above. @var{output-function} with the redirected output, as described above.
If @var{close-function} is non-nil, Eshell will call it when closing the If @var{close-function} is non-@code{nil}, Eshell will call it when
target, passing non-@code{nil} if the redirected command succeeded. closing the target, passing non-@code{nil} if the redirected command
succeeded.
@end defun @end defun
@node Pipelines @node Pipelines

View file

@ -2565,8 +2565,8 @@ into the message headers as the SMTP Method. If @var{cond} is a
function, it will be called in the message buffer without any function, it will be called in the message buffer without any
arguments, and the corresponding @var{method} will be inserted into arguments, and the corresponding @var{method} will be inserted into
the message headers as the SMTP Method if the function returns a the message headers as the SMTP Method if the function returns a
non-@code{nil} value; if @var{method} is nil, the value returned by non-@code{nil} value; if @var{method} is @code{nil}, the value
the function @code{cond} is used instead. returned by the function @code{cond} is used instead.
@end table @end table

View file

@ -1060,9 +1060,10 @@ as a single argument, since you'll probably use it with @code{ses-range}.
Special cell values: Special cell values:
@itemize @itemize
@item nil prints typically the same as "", but allows previous cell to spill over. @item @code{nil} prints typically the same as "", but allows previous
@item '*skip* replaces nil when the previous cell actually does spill over; cell to spill over.
nothing is printed for it. @item '*skip* replaces @code{nil} when the previous cell actually does
spill over; nothing is printed for it.
@item '*error* indicates that the formula signaled an error instead of @item '*error* indicates that the formula signaled an error instead of
producing a value: the print cell is filled with hash marks (#). producing a value: the print cell is filled with hash marks (#).
@end itemize @end itemize

View file

@ -559,9 +559,9 @@ table.
@defun vtable-insert-object table object &optional location before @defun vtable-insert-object table object &optional location before
Insert @var{object} into @var{table}. @var{location} should be an Insert @var{object} into @var{table}. @var{location} should be an
object in the table, the new object is inserted after this object, or object in the table, the new object is inserted after this object, or
before it if @var{before} is non-nil. If @var{location} is @code{nil}, before it if @var{before} is non-@code{nil}. If @var{location} is
@var{object} is appended to @var{table}, or prepended if @var{before} is @code{nil}, @var{object} is appended to @var{table}, or prepended if
non-@code{nil}. @var{before} is non-@code{nil}.
@var{location} can also be an integer, a zero-based index into the @var{location} can also be an integer, a zero-based index into the
table. In this case, @var{object} is inserted at that index. If the table. In this case, @var{object} is inserted at that index. If the