diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-11-28 14:59:44 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-11-28 14:59:44 +0100 |
commit | f5498a608fe85b66a4068a5ccf88c9b3d3b88f98 (patch) | |
tree | c72c0468451c73affab4cb6d1c8eaee22e35212a /lisp/mh-e | |
parent | 1272a2cb6384e1d99586486a4903e17b43cbc3cd (diff) | |
parent | 1fffe9a210d328559da2af8facbb75286a31c74e (diff) | |
download | emacs-f5498a608fe85b66a4068a5ccf88c9b3d3b88f98.tar.gz emacs-f5498a608fe85b66a4068a5ccf88c9b3d3b88f98.tar.bz2 emacs-f5498a608fe85b66a4068a5ccf88c9b3d3b88f98.zip |
Merge from origin/emacs-28
1fffe9a210 ; * lisp/org/org.el: Fix version header.
2a4de5e5e5 Fix Subject when forwarding message with 2-line From
b8b2dd17c5 Update to Org 9.5.1-11-g96d91b
a937f536b3 * doc/lispref/commands.texi (Click Events): Fix wording (b...
Diffstat (limited to 'lisp/mh-e')
-rw-r--r-- | lisp/mh-e/mh-comp.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el index 130d3784ddd..a47a6f9cca9 100644 --- a/lisp/mh-e/mh-comp.el +++ b/lisp/mh-e/mh-comp.el @@ -624,6 +624,8 @@ See also `mh-compose-forward-as-mime-flag', (defun mh-forwarded-letter-subject (from subject) "Return a Subject suitable for a forwarded message. Original message has headers FROM and SUBJECT." + ;; Join continued lines. + (setq from (replace-regexp-in-string "\\s *\n\\s +" " " from)) (let ((addr-start (string-search "<" from)) (comment (string-search "(" from))) (cond ((and addr-start (> addr-start 0)) |