diff options
| author | Sean Whitton | 2025-04-04 10:49:57 +0800 |
|---|---|---|
| committer | Sean Whitton | 2025-04-11 11:46:05 +0800 |
| commit | 60530889c309746def95f32d3dfc117bc4f98444 (patch) | |
| tree | 2cd5dbf4cc796a78c7e3719ba30661b087729be5 /exec/exec.c | |
| parent | 37164032f690f8a2382f4216c0eb947ce48e2f1f (diff) | |
| download | emacs-60530889c309746def95f32d3dfc117bc4f98444.tar.gz emacs-60530889c309746def95f32d3dfc117bc4f98444.zip | |
New buffer-local vc-buffer-overriding-fileset and vc-buffer-revision
* lisp/vc/vc.el (vc-buffer-overriding-fileset)
(vc-buffer-revision): New variables (bug#77529).
(vc-find-revision-save, vc-find-revision-no-save): Set them.
(vc-deduce-fileset): Respect vc-buffer-overriding-fileset.
(vc-print-log): Use vc-buffer-revision as a default working
revision.
* lisp/vc/vc-annotate.el (vc-annotate-parent-file)
(vc-annotate-parent-rev): Delete.
(vc-annotate): Respect vc-buffer-overriding-fileset and
vc-buffer-revision. This makes 'C-x v g' work from buffers
generated by 'C-x v ~' (bug#5424).
Set the two variables in the newly prepared buffer.
(vc-annotate-working-revision)
(vc-annotate-extract-revision-at-line)
(vc-annotate-revision-at-line, vc-annotate-warp-revision)
(vc-annotate-goto-line):
* lisp/vc/vc-svn.el (vc-svn-annotate-current-time): Use
vc-buffer-overriding-fileset instead of vc-annotate-parent-file,
vc-buffer-revision instead of vc-annotate-parent-rev.
(vc-annotate-parent-rev): Delete declaration.
* etc/NEWS: Announce the new variables.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions