]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix shortdoc movement commands
authorStefan Kangas <stefankangas@gmail.com>
Sun, 25 Sep 2022 11:54:37 +0000 (13:54 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 25 Sep 2022 12:27:44 +0000 (14:27 +0200)
* lisp/emacs-lisp/shortdoc.el (shortdoc--goto-section): Don't skip
over current function or section when searching.

lisp/emacs-lisp/shortdoc.el

index 33106808d28a1df7b4e87be342608cc717506c04..b5c99cf2c9a77c0926e1a14763e920abed760af1 100644 (file)
@@ -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)