]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/log-view.el (log-view-mode-menu): Quote derived modes (bug#66686).
authorJuri Linkov <juri@linkov.net>
Sun, 22 Oct 2023 17:59:52 +0000 (20:59 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 22 Oct 2023 17:59:52 +0000 (20:59 +0300)
lisp/vc/log-view.el

index e6eb6a5b973ac528f19f42b4b167c47dc89d037e..af24fcfd398d8a43157cc979e38712db4ffc9476 100644 (file)
      :help "Go to the previous count'th log message"]
     ["Next File"  log-view-file-next
      :help "Go to the next count'th file"
-     :active (derived-mode-p vc-cvs-log-view-mode
-                             vc-rcs-log-view-mode
-                             vc-sccs-log-view-mode)]
+     :active (derived-mode-p 'vc-cvs-log-view-mode
+                             'vc-rcs-log-view-mode
+                             'vc-sccs-log-view-mode)]
     ["Previous File"  log-view-file-prev
      :help "Go to the previous count'th file"
-     :active (derived-mode-p vc-cvs-log-view-mode
-                             vc-rcs-log-view-mode
-                             vc-sccs-log-view-mode)]))
+     :active (derived-mode-p 'vc-cvs-log-view-mode
+                             'vc-rcs-log-view-mode
+                             'vc-sccs-log-view-mode)]))
 
 (defvar log-view-mode-hook nil
   "Hook run at the end of `log-view-mode'.")