]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typos and omissions for (elisp)Button Buffer Commands
authorMatt Armstrong <matt@rfc20.org>
Wed, 10 Mar 2021 17:24:43 +0000 (09:24 -0800)
committerEli Zaretskii <eliz@gnu.org>
Sat, 13 Mar 2021 09:52:10 +0000 (11:52 +0200)
* doc/lispref/display.texi (Button Buffer Commands): Minor
typo and omission fixes `backward-button' and
`forward-button'.  (Bug#47051)

doc/lispref/display.texi

index a49f08dd2ed76055d28b34ca85bd10101a991bb2..fed1762e30c1ac70c40a1829a55e1df8f21d053d 100644 (file)
@@ -6964,11 +6964,11 @@ end of the buffer continues from the other end.  If
 @var{display-message} is non-@code{nil}, the button's help-echo string
 is displayed.  Any button with a non-@code{nil} @code{skip} property
 is skipped over.  Returns the button found, and signals an error if no
-buttons can be found.  If @var{no-error} in non-@code{nil}, return nil
+buttons can be found.  If @var{no-error} is non-@code{nil}, return nil
 instead of signaling the error.
 @end deffn
 
-@deffn Command backward-button n &optional wrap display-message
+@deffn Command backward-button n &optional wrap display-message no-error
 Move to the @var{n}th previous button, or @var{n}th next button if
 @var{n} is negative.  If @var{n} is zero, move to the start of any
 button at point.  If @var{wrap} is non-@code{nil}, moving past either
@@ -6976,7 +6976,7 @@ end of the buffer continues from the other end.  If
 @var{display-message} is non-@code{nil}, the button's help-echo string
 is displayed.  Any button with a non-@code{nil} @code{skip} property
 is skipped over.  Returns the button found, and signals an error if no
-buttons can be found.  If @var{no-error} in non-@code{nil}, return nil
+buttons can be found.  If @var{no-error} is non-@code{nil}, return nil
 instead of signaling the error.
 @end deffn