From: Matt Armstrong Date: Wed, 10 Mar 2021 17:24:43 +0000 (-0800) Subject: Fix typos and omissions for (elisp)Button Buffer Commands X-Git-Tag: emacs-27.2-rc1~6 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f60eb988f6dfcd590d17dd6fd3f93ee71e830391;p=emacs.git 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) --- 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