diff options
| author | Philip Kaludercic | 2024-02-12 17:37:16 +0100 |
|---|---|---|
| committer | Philip Kaludercic | 2024-02-12 17:37:52 +0100 |
| commit | 6aeeae68885e09a7253a0076d0f81cc46b37f20d (patch) | |
| tree | aa9cc5a56fecad16c070c85c354d31836d7adb4c | |
| parent | 2f7d662dd4636a84e157a2af8f843c0589bc5dda (diff) | |
| download | emacs-6aeeae68885e09a7253a0076d0f81cc46b37f20d.tar.gz emacs-6aeeae68885e09a7253a0076d0f81cc46b37f20d.zip | |
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.
| -rw-r--r-- | lisp/vc/vc.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index f612daaa569..ca6efeabac2 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el | |||
| @@ -3639,7 +3639,6 @@ marked revisions, use those." | |||
| 3639 | (read-string "Subject: " "[PATCH] " nil nil t)) | 3639 | (read-string "Subject: " "[PATCH] " nil nil t)) |
| 3640 | revs))) | 3640 | revs))) |
| 3641 | (save-current-buffer | 3641 | (save-current-buffer |
| 3642 | (vc-ensure-vc-buffer) | ||
| 3643 | (let ((patches (mapcar (lambda (rev) | 3642 | (let ((patches (mapcar (lambda (rev) |
| 3644 | (vc-call-backend | 3643 | (vc-call-backend |
| 3645 | (vc-responsible-backend default-directory) | 3644 | (vc-responsible-backend default-directory) |