aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mail
diff options
context:
space:
mode:
authorRichard M. Stallman1999-01-02 00:14:41 +0000
committerRichard M. Stallman1999-01-02 00:14:41 +0000
commit75e4db343eedd95bc89dcbe06469295337c408eb (patch)
treee85788e97e9b96e01531d24b5830c1128e56992a /lisp/mail
parent759860a6af74f327a9b1b4ddb49a42929e10f92e (diff)
downloademacs-75e4db343eedd95bc89dcbe06469295337c408eb.tar.gz
emacs-75e4db343eedd95bc89dcbe06469295337c408eb.zip
(mail-mode): Eliminate ambiguous match from paragraph-start.
(mail-yank-original): Remove text properties after insertion. (mail-yank-region): Barf if no mark is set in the message being replied to.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/sendmail.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 049132dc6e4..e9540f17145 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -453,7 +453,7 @@ Here are commands that move to a header field (and create it if there isn't):
453 ;; Lines containing just >= 3 dashes, perhaps after whitespace, 453 ;; Lines containing just >= 3 dashes, perhaps after whitespace,
454 ;; are also sometimes used and should be separators. 454 ;; are also sometimes used and should be separators.
455 (setq paragraph-start (concat (regexp-quote mail-header-separator) 455 (setq paragraph-start (concat (regexp-quote mail-header-separator)
456 "$\\|[ \t]*\\([-|#;>*]+ *\\|(?[0-9]+[.)] *\\)*$" 456 "$\\|\t*\\([-|#;>* ]\\|(?[0-9]+[.)]\\)+$"
457 "\\|[ \t]*[a-z0-9A-Z]*>+[ \t]*$\\|[ \t]*$\\|" 457 "\\|[ \t]*[a-z0-9A-Z]*>+[ \t]*$\\|[ \t]*$\\|"
458 "-- $\\|---+$\\|" 458 "-- $\\|---+$\\|"
459 page-delimiter)) 459 page-delimiter))
@@ -1204,7 +1204,8 @@ and don't delete any header fields."
1204 ;; delete that window to save screen space. 1204 ;; delete that window to save screen space.
1205 ;; t means don't alter other frames. 1205 ;; t means don't alter other frames.
1206 (delete-windows-on original t) 1206 (delete-windows-on original t)
1207 (insert-buffer original)) 1207 (insert-buffer original)
1208 (set-text-properties (point) (mark t) nil))
1208 (if (consp arg) 1209 (if (consp arg)
1209 nil 1210 nil
1210 (goto-char start) 1211 (goto-char start)
@@ -1265,6 +1266,9 @@ and don't delete any header fields."
1265 (interactive "P") 1266 (interactive "P")
1266 (and (consp mail-reply-action) 1267 (and (consp mail-reply-action)
1267 (eq (car mail-reply-action) 'insert-buffer) 1268 (eq (car mail-reply-action) 'insert-buffer)
1269 (with-current-buffer (nth 1 mail-reply-action)
1270 (or (mark t)
1271 (error "No mark set: %S" (current-buffer))))
1268 (let ((buffer (nth 1 mail-reply-action)) 1272 (let ((buffer (nth 1 mail-reply-action))
1269 (start (point)) 1273 (start (point))
1270 ;; Avoid error in Transient Mark mode 1274 ;; Avoid error in Transient Mark mode