diff options
author | Juri Linkov <juri@linkov.net> | 2022-12-11 19:24:34 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2022-12-11 19:24:34 +0200 |
commit | 733cdeabfb91520584ab88253292c1451f295bae (patch) | |
tree | 8ab9f07c1f84a532a51f6f9ae86a926f6f7220c9 /test/lisp/emacs-lisp/bytecomp-resources/warn-make-variable-buffer-local.el | |
parent | 87475f4af21daf8a09f08e359a22c33e0173f3ee (diff) | |
download | emacs-733cdeabfb91520584ab88253292c1451f295bae.tar.gz emacs-733cdeabfb91520584ab88253292c1451f295bae.tar.bz2 emacs-733cdeabfb91520584ab88253292c1451f295bae.zip |
Don't use diff-mode buffer as a patch when it's visiting a file (bug#59962)
* lisp/vc/vc.el (vc-deduce-fileset-1): Don't call diff-vc-deduce-fileset
for diff-mode when buffer-file-name is non-nil. This is because in this case
a file with a diff might be committed to VCS. So don't use it as a patch
to commit with 'C-x v v'.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-make-variable-buffer-local.el')
0 files changed, 0 insertions, 0 deletions