Allow using 'vc-prepare-patch' in non-VC buffers
* lisp/vc/vc.el (vc-prepare-patch): Remove 'vc-ensure-vc-buffer', as it is not necessary to verify this for the command to work.
This commit is contained in:
@@ -3639,7 +3639,6 @@ marked revisions, use those."
|
||||
(read-string "Subject: " "[PATCH] " nil nil t))
|
||||
revs)))
|
||||
(save-current-buffer
|
||||
(vc-ensure-vc-buffer)
|
||||
(let ((patches (mapcar (lambda (rev)
|
||||
(vc-call-backend
|
||||
(vc-responsible-backend default-directory)
|
||||
|
||||
Reference in New Issue
Block a user