]> git.eshelyaron.com Git - emacs.git/commit
New option vc-find-revision-no-save to not write revision to file
authorJuri Linkov <juri@linkov.net>
Wed, 14 Nov 2018 00:23:04 +0000 (02:23 +0200)
committerJuri Linkov <juri@linkov.net>
Wed, 14 Nov 2018 00:23:04 +0000 (02:23 +0200)
commitf561c6a1124d4a1d79c264a9cb79ac0e7cb1650f
tree19e38540b703d39ae7711848607da9b205ef237b
parent2ccfb4b5f43b7592af4efe943c24741370f3eb86
New option vc-find-revision-no-save to not write revision to file

* lisp/vc/vc.el (vc-find-revision-no-save): New defcustom (bug#33319).
(vc-find-revision): Depending on vc-find-revision-no-save,
call either vc-find-revision-no-save or vc-find-revision-save.
(vc-find-revision-save): Rename from vc-find-revision.
(vc-find-revision-no-save): New function.

* lisp/vc/diff-mode.el (diff-find-source-location):
Let-bind vc-find-revision-no-save to t.
etc/NEWS
lisp/vc/diff-mode.el
lisp/vc/vc.el