diff options
| author | Juri Linkov | 2018-11-14 02:14:52 +0200 |
|---|---|---|
| committer | Juri Linkov | 2018-11-14 02:14:52 +0200 |
| commit | 2ccfb4b5f43b7592af4efe943c24741370f3eb86 (patch) | |
| tree | 207d997d45a4bcd7e9b6d7417d7e7c5ae6624d14 /etc | |
| parent | 4a5a17507fe1e12ee02c174350edc479fb01ac01 (diff) | |
| download | emacs-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -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. |
| 369 | To enable it, set the new defcustom 'diff-font-lock-prettify to t. | 369 | To 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 | ||
| 372 | of the file under version control if point is on an old changed line, | ||
| 373 | or 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. |