aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2018-11-14 02:14:52 +0200
committerJuri Linkov2018-11-14 02:14:52 +0200
commit2ccfb4b5f43b7592af4efe943c24741370f3eb86 (patch)
tree207d997d45a4bcd7e9b6d7417d7e7c5ae6624d14 /etc
parent4a5a17507fe1e12ee02c174350edc479fb01ac01 (diff)
downloademacs-2ccfb4b5f43b7592af4efe943c24741370f3eb86.tar.gz
emacs-2ccfb4b5f43b7592af4efe943c24741370f3eb86.zip
Support VC revisions in diff-goto-source (bug#33319)
* lisp/vc/diff-mode.el (diff-vc-revisions): New defvar. (diff-find-source-location): Call vc-find-revision for non-nil values of 'other', diff-vc-backend, diff-vc-revisions. * lisp/vc/vc.el (vc-diff-internal): Set buffer-local diff-vc-revisions to the list of used revisions. * doc/emacs/files.texi (Diff Mode): Update diff-goto-source for VC-related prefix argument.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 2f07abb4eb5..2a2010e9d36 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -368,6 +368,10 @@ To disable it, set the new defcustom 'diff-font-lock-refine' to nil.
368*** File headers can be shortened, mimicking Magit's diff format. 368*** File headers can be shortened, mimicking Magit's diff format.
369To enable it, set the new defcustom 'diff-font-lock-prettify to t. 369To enable it, set the new defcustom 'diff-font-lock-prettify to t.
370 370
371*** Prefix arg of 'diff-goto-source' means jump to the old revision
372of the file under version control if point is on an old changed line,
373or to the new revision of the file otherwise.
374
371** Browse-url 375** Browse-url
372 376
373*** The function 'browse-url-emacs' can now visit a URL in selected window. 377*** The function 'browse-url-emacs' can now visit a URL in selected window.