summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-05-06 19:09:12 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-05-06 19:09:29 +0200
commitb7e1176323386935e34dbc98ec7d445c728cc83a (patch)
treed0c088cbe94c9bdb83274881cffcbf1bf8eab4a7
parent6d4cc2358b009462ab0e196946a1a89474c30264 (diff)
downloademacs-b7e1176323386935e34dbc98ec7d445c728cc83a.tar.gz
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).
-rw-r--r--doc/emacs/maintaining.texi9
-rw-r--r--lisp/vc/log-view.el10
2 files changed, 8 insertions, 11 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index fc2b2a24e2c..cca8441daa5 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 c773492c2de..415b1564eda 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'.")