emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b7e1176323: Further log-view-file-next fix-ups


From: Lars Ingebrigtsen
Subject: master b7e1176323: Further log-view-file-next fix-ups
Date: Fri, 6 May 2022 13:09:35 -0400 (EDT)

branch: master
commit b7e1176323386935e34dbc98ec7d445c728cc83a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Further log-view-file-next fix-ups
    
    * 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 |  9 ---------
 lisp/vc/log-view.el        | 10 ++++++++--
 2 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index fc2b2a24e2..cca8441daa 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -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}).
 
diff --git a/lisp/vc/log-view.el b/lisp/vc/log-view.el
index c773492c2d..415b1564ed 100644
--- a/lisp/vc/log-view.el
+++ b/lisp/vc/log-view.el
@@ -162,9 +162,15 @@
     ["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'.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]