mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
(vc-version-diff): Mention that default file is visited file.
This commit is contained in:
parent
6c455d5c0e
commit
79d00189f1
@ -1301,7 +1301,9 @@ and two version designators specifying which versions to compare."
|
||||
If FILE is a directory, generate diffs between versions for all registered
|
||||
files in or below it."
|
||||
(interactive
|
||||
(let ((file (read-file-name "File or directory to diff: "
|
||||
(let ((file (read-file-name (if buffer-file-name
|
||||
"File or dir to diff: (default visited file) "
|
||||
"File or dir to diff: ")
|
||||
default-directory buffer-file-name t))
|
||||
(rel1-default nil) (rel2-default nil))
|
||||
;; compute default versions based on the file state
|
||||
|
Loading…
Reference in New Issue
Block a user