Do interactive mode tagging in apropos.el
authorStefan Kangas <stefan@marxist.se>
Wed, 3 Aug 2022 13:45:06 +0000 (15:45 +0200)
committerStefan Kangas <stefan@marxist.se>
Wed, 3 Aug 2022 13:45:06 +0000 (15:45 +0200)
* lisp/apropos.el (apropos-follow, apropos-next-symbol)
(apropos-previous-symbol): Tag for 'apropos-mode'.

lisp/apropos.el

index 13dc8fa1391a4a6d51cc6d4d0c57790388167f24..96821285869ff1b74d6d46743a0ea2a5070bb8b4 100644 (file)
@@ -1332,14 +1332,14 @@ as a heading."
 
 (defun apropos-follow ()
   "Invokes any button at point, otherwise invokes the nearest label button."
-  (interactive)
+  (interactive nil apropos-mode)
   (button-activate
    (or (apropos-next-label-button (line-beginning-position))
        (error "There is nothing to follow here"))))
 
 (defun apropos-next-symbol ()
   "Move cursor down to the next symbol in an `apropos-mode' buffer."
-  (interactive)
+  (interactive nil apropos-mode)
   (forward-line)
   (while (and (not (eq (face-at-point) 'apropos-symbol))
               (< (point) (point-max)))
@@ -1347,7 +1347,7 @@ as a heading."
 
 (defun apropos-previous-symbol ()
   "Move cursor back to the last symbol in an `apropos-mode' buffer."
-  (interactive)
+  (interactive nil apropos-mode)
   (forward-line -1)
   (while (and (not (eq (face-at-point) 'apropos-symbol))
               (> (point) (point-min)))