* nnmail.el (nnmail-expand-newtext): Further sub-match fixups (bug#12375).

This commit is contained in:
Lars Ingebrigtsen 2014-02-11 21:48:39 -08:00
parent fa79297982
commit d024b579cd
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2014-02-12 Lars Ingebrigtsen <larsi@gnus.org>
* nnmail.el (nnmail-expand-newtext): Further sub-match fixups
(bug#12375).
2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
* message.el (message-tab): Mention what happens on normal tabs

View file

@ -1542,6 +1542,9 @@ See the documentation for the variable `nnmail-split-fancy' for details."
(if (= c ?\&)
(setq N 0)
(setq N (- c ?0)))
;; We wrapped the searches in parentheses, so we have to
;; add some parentheses here...
(setq N (+ N 3))
(when (match-beginning N)
(push (if nnmail-split-lowercase-expanded
(downcase (buffer-substring (match-beginning N)