summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Armstrong <matt@rfc20.org>2021-03-10 09:24:43 -0800
committerEli Zaretskii <eliz@gnu.org>2021-03-13 11:52:10 +0200
commitf60eb988f6dfcd590d17dd6fd3f93ee71e830391 (patch)
tree747e9bb19c95df53b36d33c2cdc5322068c87acf
parent876b95bf90653fe61ad0b9e2d17924832422e8bb (diff)
downloademacs-f60eb988f6dfcd590d17dd6fd3f93ee71e830391.tar.gz
Fix typos and omissions for (elisp)Button Buffer Commands
* doc/lispref/display.texi (Button Buffer Commands): Minor typo and omission fixes `backward-button' and `forward-button'. (Bug#47051)
-rw-r--r--doc/lispref/display.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index a49f08dd2ed..fed1762e30c 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -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