aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-10-11 21:01:50 -0400
committerGlenn Morris2012-10-11 21:01:50 -0400
commit3a989246b190eb90edc8cbf2b4f031d44d00e9ca (patch)
tree4c5c3090bca06e76a33159f7d83b56937d48f644
parent55cd00c8f958ff627521c73113a5ea66fe4e4a57 (diff)
downloademacs-3a989246b190eb90edc8cbf2b4f031d44d00e9ca.tar.gz
emacs-3a989246b190eb90edc8cbf2b4f031d44d00e9ca.zip
rmail-header-summary fix for bug#12625
* lisp/mail/rmailsum.el (rmail-header-summary): Fix 2010-11-26 test for multiline Subject: field.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/mail/rmailsum.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 19e51cc603a..4424a5fb389 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-10-12 Glenn Morris <rgm@gnu.org>
2
3 * mail/rmailsum.el (rmail-header-summary):
4 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5
12012-10-12 Fabián Ezequiel Gallina <fgallina@cuca> 62012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2 7
3 * progmodes/python.el (python-mode-map): Replace 8 * progmodes/python.el (python-mode-map): Replace
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index d3a464161cb..612ccbdfd9e 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -785,7 +785,7 @@ the message being processed."
785 (setq pos (point)) 785 (setq pos (point))
786 (forward-line 1) 786 (forward-line 1)
787 (setq str (buffer-substring pos (1- (point)))) 787 (setq str (buffer-substring pos (1- (point))))
788 (while (looking-at "\\s ") 788 (while (looking-at "[ \t]")
789 (setq str (concat str " " 789 (setq str (concat str " "
790 (buffer-substring (match-end 0) 790 (buffer-substring (match-end 0)
791 (line-end-position)))) 791 (line-end-position))))