From: Stefan Kangas Date: Sun, 25 Sep 2022 11:54:37 +0000 (+0200) Subject: Fix shortdoc movement commands X-Git-Tag: emacs-29.0.90~1856^2~234 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=971566e88a9fdb414b3c821cb55a7fc0e903eeba;p=emacs.git Fix shortdoc movement commands * lisp/emacs-lisp/shortdoc.el (shortdoc--goto-section): Don't skip over current function or section when searching. --- diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el index 33106808d28..b5c99cf2c9a 100644 --- a/lisp/emacs-lisp/shortdoc.el +++ b/lisp/emacs-lisp/shortdoc.el @@ -1529,7 +1529,7 @@ Example: (funcall (if reverse 'text-property-search-backward 'text-property-search-forward) - sym nil t t) + sym nil t) (setq arg (1- arg)))) (defun shortdoc-next (&optional arg)