mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
Require that the buffer that we're trying to patch exist
* lisp/vc/ediff.el (ediff-patch-buffer): Require that the buffer that we're trying to patch exist (bug#21852). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
c5214e7969
commit
0d21540646
@ -1401,9 +1401,8 @@ patch. If not given, the user is prompted according to the prefix argument."
|
||||
(if arg (prefix-numeric-value arg)) patch-buf))
|
||||
(ediff-patch-buffer-internal
|
||||
patch-buf
|
||||
(read-buffer
|
||||
"Which buffer to patch? "
|
||||
(ediff-other-buffer patch-buf))))
|
||||
(read-buffer "Which buffer to patch? " (ediff-other-buffer patch-buf)
|
||||
'require-match)))
|
||||
|
||||
|
||||
;;;###autoload
|
||||
|
Loading…
Reference in New Issue
Block a user