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
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue