]> git.eshelyaron.com Git - emacs.git/commitdiff
Further log-view-file-next fix-ups
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 6 May 2022 17:09:12 +0000 (19:09 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 6 May 2022 17:09:29 +0000 (19:09 +0200)
* doc/emacs/maintaining.texi (VC Change Log): Remove the entries
for commands now removed from most VCs.
* lisp/vc/log-view.el (log-view-mode-menu): Disable menu entries
(bug#14531).

doc/emacs/maintaining.texi
lisp/vc/log-view.el

index fc2b2a24e2cc05a93c13be07e89e66ab6d24989b..cca8441daa58d0ab81ec09f757cf9ff72d6f6bb2 100644 (file)
@@ -1055,15 +1055,6 @@ prefix argument is a repeat count.
 Move to the next revision entry.  A numeric prefix argument is a
 repeat count.
 
-@item P
-Move to the log of the previous file, if showing logs for a multi-file
-VC fileset.  Otherwise, just move to the beginning of the log.  A
-numeric prefix argument is a repeat count.
-
-@item N
-Move to the log of the next file, if showing logs for a multi-file VC
-fileset.  A numeric prefix argument is a repeat count.
-
 @item a
 Annotate the revision on the current line (@pxref{Old Revisions}).
 
index c773492c2decebe2ddbd882d35532a3d313bd6f3..415b1564edaaaa6c8b9b3c74e9a47108cb944617 100644 (file)
     ["Previous Log Entry"  log-view-msg-prev
      :help "Go to the previous count'th log message"]
     ["Next File"  log-view-file-next
-     :help "Go to the next count'th file"]
+     :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)]
     ["Previous File"  log-view-file-prev
-     :help "Go to the previous count'th file"]))
+     :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)]))
 
 (defvar log-view-mode-hook nil
   "Hook run at the end of `log-view-mode'.")