From: Lars Ingebrigtsen Date: Fri, 6 May 2022 17:09:12 +0000 (+0200) Subject: Further log-view-file-next fix-ups X-Git-Tag: emacs-29.0.90~1931^2~11 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b7e1176323386935e34dbc98ec7d445c728cc83a;p=emacs.git 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). --- 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'.")