From 342cd093fe65b05686b8d344f8205a1db10e791c Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 22 Jul 2024 10:14:25 +0200 Subject: [PATCH] Correctly typeset nil and t in texinfo * doc/emacs/package.texi (Fetching Package Sources): * doc/lispref/display.texi (Image Descriptors): * doc/lispref/windows.texi (Buffer Display Action Alists): * doc/misc/gnus-faq.texi (FAQ 5-4): Correctly typeset nil and t. (cherry picked from commit 9b426e15abd320f9c53692bb6f5834967e6e1a37) --- doc/emacs/package.texi | 6 +++--- doc/lispref/display.texi | 2 +- doc/lispref/windows.texi | 11 +++++------ doc/misc/gnus-faq.texi | 11 +++++------ 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi index 22d91b6dbe1..2022ea61f6b 100644 --- a/doc/emacs/package.texi +++ b/doc/emacs/package.texi @@ -693,9 +693,9 @@ an Org file. @item :make A string or list of strings providing the target or targets defined in -the repository Makefile which should run before building the Info -file. Only takes effect when @code{package-vc-allow-build-commands} -is non-nil. +the repository Makefile which should run before building the Info file. +Only takes effect when @code{package-vc-allow-build-commands} is +non-@code{nil}. @item :shell-command A string providing the shell command to run before building the Info diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 8785942bafa..a39ec4a60d6 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -6207,7 +6207,7 @@ or @code{:flip} is changed. If @code{:original-map} is not specified when creating an image with @code{create-image}, it will be computed based on the supplied @code{:map}, as well as any of @code{:scale}, @code{:rotation}, or -@code{:flip} which are non-nil. +@code{:flip} which are non-@code{nil}. Conversely, if @code{:original-map} is specified but @code{:map} is not, @code{:map} will be computed based on @code{:original-map}, diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 2b1b0d704a0..f5963d984e9 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi @@ -3312,12 +3312,11 @@ only addressee. @vindex pop-up-frames@r{, a buffer display action alist entry} @item pop-up-frames -The value controls whether @code{display-buffer} may display buffers -by making new frames. It has the same meaning as the -@code{pop-up-frames} variable and takes precedence over it when present. -Its main intended purpose is to override a non-nil value of the -variable for particular buffers which the user prefers to keep -in the selected frame. +The value controls whether @code{display-buffer} may display buffers by +making new frames. It has the same meaning as the @code{pop-up-frames} +variable and takes precedence over it when present. Its main intended +purpose is to override a non-@code{nil} value of the variable for +particular buffers which the user prefers to keep in the selected frame. @vindex parent-frame@r{, a buffer display action alist entry} @item parent-frame diff --git a/doc/misc/gnus-faq.texi b/doc/misc/gnus-faq.texi index a773d48417c..c21f19cc784 100644 --- a/doc/misc/gnus-faq.texi +++ b/doc/misc/gnus-faq.texi @@ -1173,12 +1173,11 @@ to postings you send to the gmane hierarchy, use send to groups containing the string binaries in their name etc. -You can instead of specifying a regexp specify a function -which is evaluated, only if it returns true, the -corresponding settings take effect. Two interesting -candidates for this are message-news-p which returns t if -the current Group is a newsgroup and the corresponding -message-mail-p. +You can instead of specifying a regexp specify a function which is +evaluated, only if it returns true, the corresponding settings take +effect. Two interesting candidates for this are @code{message-news-p} +which returns @code{t} if the current Group is a newsgroup and the +corresponding @code{message-mail-p}. Note that all forms that match are applied, that means in the example below, when I post to -- 2.39.2