aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-08-01 19:11:15 +0000
committerRichard M. Stallman1998-08-01 19:11:15 +0000
commit8761c2c46b673eae54d0fd6d97641e7d74c303dd (patch)
treed097fcedfe255dbf1f7f6e345719b5947ef15758
parent7c5e21ab08528ec931485f05961c911be635f327 (diff)
downloademacs-8761c2c46b673eae54d0fd6d97641e7d74c303dd.tar.gz
emacs-8761c2c46b673eae54d0fd6d97641e7d74c303dd.zip
(mail-yank-region): Bind mark-even-if-inactive to t.
(mail-yank-original was similarly changed, a few versions ago.)
-rw-r--r--lisp/mail/sendmail.el7
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))))