aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-01-05 07:23:52 +0000
committerRichard M. Stallman1996-01-05 07:23:52 +0000
commite20903fba8f1a55d52f5d5795c65d0cec7762ef4 (patch)
tree8b87bbf46777889a986644aa0dad9a86eda31425
parenta8840283de12e1073a6da9c35be1dd89feb64ac3 (diff)
downloademacs-e20903fba8f1a55d52f5d5795c65d0cec7762ef4.tar.gz
emacs-e20903fba8f1a55d52f5d5795c65d0cec7762ef4.zip
(rmail-retry-failure): Bind inhibit-read-only.
-rw-r--r--lisp/mail/rmail.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 2e2880872df..3ac178f497f 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -2293,7 +2293,7 @@ typically for purposes of moderating a list."
2293 (set-buffer tembuf) 2293 (set-buffer tembuf)
2294 (insert-buffer-substring mailbuf) 2294 (insert-buffer-substring mailbuf)
2295 (goto-char (point-min)) 2295 (goto-char (point-min))
2296 ;; Delete any Sender field, since that's not specifyable. 2296 ;; Delete any Sender field, since that's not specifiable.
2297 ; Only delete Sender fields in the actual header. 2297 ; Only delete Sender fields in the actual header.
2298 (re-search-forward "^$" nil 'move) 2298 (re-search-forward "^$" nil 'move)
2299 ; Using "while" here rather than "if" because some buggy mail 2299 ; Using "while" here rather than "if" because some buggy mail
@@ -2446,7 +2446,9 @@ specifying headers which should not be copied into the new message."
2446 (if (rmail-start-mail nil nil nil nil nil rmail-buffer 2446 (if (rmail-start-mail nil nil nil nil nil rmail-buffer
2447 (list (list action))) 2447 (list (list action)))
2448 ;; Insert original text as initial text of new draft message. 2448 ;; Insert original text as initial text of new draft message.
2449 (progn 2449 ;; Bind inhibit-read-only since the header delimiter
2450 ;; of the previous message was probably read-only.
2451 (let ((inhibit-read-only t))
2450 ;; We keep the rmail buffer and message number in these 2452 ;; We keep the rmail buffer and message number in these
2451 ;; buffer-local vars in the sendmail buffer, 2453 ;; buffer-local vars in the sendmail buffer,
2452 ;; so that the rmail-only-expunge can relocate the message number. 2454 ;; so that the rmail-only-expunge can relocate the message number.