diff options
author | Eli Zaretskii <eliz@gnu.org> | 2019-11-29 11:03:55 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2019-11-29 11:03:55 +0200 |
commit | 6e41b08ea877af91908abaf164a9a00cb82cafa9 (patch) | |
tree | 7f82392113ee37fa55b972880705218ae84433c6 /lisp/vc | |
parent | b2790db049da98b541d07bac21ca7d7c220d3be0 (diff) | |
download | emacs-6e41b08ea877af91908abaf164a9a00cb82cafa9.tar.gz |
Improve documentation and UI of 'C-x v L'
* lisp/vc/vc.el (vc-print-root-log): Improve the wording of
the doc string and of the prompt for the root directory.
* etc/NEWS: Improve and expand the wording of the changes in
'C-x v L'.
* doc/emacs/maintaining.texi (VC Change Log): Improve and
clarify wording of the 'C-x v L' description.
Diffstat (limited to 'lisp/vc')
-rw-r--r-- | lisp/vc/vc.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index d0d2c39ac3d..5ac07e78891 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -2481,13 +2481,14 @@ WORKING-REVISION and LIMIT." ;;;###autoload (defun vc-print-root-log (&optional limit revision) - "List the change log for the current VC controlled tree in a window. + "List the revision history for the current VC controlled tree in a window. If LIMIT is non-nil, it should be a number specifying the maximum number of revisions to show; the default is `vc-log-show-limit'. When called interactively with a prefix argument, prompt for LIMIT. When the prefix argument is a number, use it as LIMIT. -A special case is when the prefix argument is 1, in this case -it asks for the revision and shows it with its diff." +A special case is when the prefix argument is 1: in this case +the command asks for the ID of a revision, and shows that revision +with its diffs (if the underlying VCS supports that)." (interactive (cond ((eq current-prefix-arg 1) @@ -2517,7 +2518,7 @@ it asks for the revision and shows it with its diff." rootdir) (if backend (setq rootdir (vc-call-backend backend 'root default-directory)) - (setq rootdir (read-directory-name "Directory for VC root-log: ")) + (setq rootdir (read-directory-name "Directory for VC revision log: ")) (setq backend (vc-responsible-backend rootdir)) (unless backend (error "Directory is not version controlled"))) |