diff options
| author | Philip Kaludercic | 2022-10-11 20:46:15 +0200 |
|---|---|---|
| committer | Philip Kaludercic | 2022-10-14 18:07:52 +0200 |
| commit | 60f46b45d9654e1cabffecec176844ab0c752fe3 (patch) | |
| tree | ff20360f668b0fdd37ab55310eb1c70fb81576a2 | |
| parent | 5426b4d7bffd368a0116d70cb95904ff3bfda0c5 (diff) | |
| download | emacs-60f46b45d9654e1cabffecec176844ab0c752fe3.tar.gz emacs-60f46b45d9654e1cabffecec176844ab0c752fe3.zip | |
Prepare all inline patches at once
* lisp/vc/vc.el (vc-prepare-patch): Remove the usage of
'recursive-edit' when 'vc-prepare-patches-separately' is non-nil.
| -rw-r--r-- | lisp/vc/vc.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 9e8dbfbe013..0ef867beed8 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el | |||
| @@ -3370,7 +3370,8 @@ revisions, those revisions will be used." | |||
| 3370 | 'prepare-patch rev)) | 3370 | 'prepare-patch rev)) |
| 3371 | revisions))) | 3371 | revisions))) |
| 3372 | (if vc-prepare-patches-separately | 3372 | (if vc-prepare-patches-separately |
| 3373 | (dolist (patch patches) | 3373 | (dolist (patch (reverse patches) |
| 3374 | (message "Prepared %d patches..." (length patches))) | ||
| 3374 | (compose-mail addressee | 3375 | (compose-mail addressee |
| 3375 | (plist-get patch :subject) | 3376 | (plist-get patch :subject) |
| 3376 | nil nil nil nil | 3377 | nil nil nil nil |
| @@ -3381,8 +3382,7 @@ revisions, those revisions will be used." | |||
| 3381 | (insert-buffer-substring | 3382 | (insert-buffer-substring |
| 3382 | (plist-get patch :buffer) | 3383 | (plist-get patch :buffer) |
| 3383 | (plist-get patch :body-start) | 3384 | (plist-get patch :body-start) |
| 3384 | (plist-get patch :body-end))) | 3385 | (plist-get patch :body-end)))) |
| 3385 | (recursive-edit)) | ||
| 3386 | (compose-mail addressee subject nil nil nil nil | 3386 | (compose-mail addressee subject nil nil nil nil |
| 3387 | (mapcar | 3387 | (mapcar |
| 3388 | (lambda (p) | 3388 | (lambda (p) |