diff options
| -rw-r--r-- | lisp/mail/sendmail.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 43185e8a071..ad3e3355e67 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -1183,6 +1183,8 @@ and don't delete any header fields." | |||
| 1183 | (goto-char start) | 1183 | (goto-char start) |
| 1184 | (let ((mail-indentation-spaces (if arg (prefix-numeric-value arg) | 1184 | (let ((mail-indentation-spaces (if arg (prefix-numeric-value arg) |
| 1185 | mail-indentation-spaces)) | 1185 | mail-indentation-spaces)) |
| 1186 | ;; Avoid error in Transient Mark mode | ||
| 1187 | ;; on account of mark's being inactive. | ||
| 1186 | (mark-even-if-inactive t)) | 1188 | (mark-even-if-inactive t)) |
| 1187 | (if mail-citation-hook | 1189 | (if mail-citation-hook |
| 1188 | (run-hooks 'mail-citation-hook) | 1190 | (run-hooks 'mail-citation-hook) |
| @@ -1227,7 +1229,10 @@ and don't delete any header fields." | |||
| 1227 | (and (consp mail-reply-action) | 1229 | (and (consp mail-reply-action) |
| 1228 | (eq (car mail-reply-action) 'insert-buffer) | 1230 | (eq (car mail-reply-action) 'insert-buffer) |
| 1229 | (let ((buffer (nth 1 mail-reply-action)) | 1231 | (let ((buffer (nth 1 mail-reply-action)) |
| 1230 | (start (point))) | 1232 | (start (point)) |
| 1233 | ;; Avoid error in Transient Mark mode | ||
| 1234 | ;; on account of mark's being inactive. | ||
| 1235 | (mark-even-if-inactive t)) | ||
| 1231 | ;; Insert the citation text. | 1236 | ;; Insert the citation text. |
| 1232 | (insert (with-current-buffer buffer | 1237 | (insert (with-current-buffer buffer |
| 1233 | (buffer-substring (point) (mark)))) | 1238 | (buffer-substring (point) (mark)))) |