Mercurial > emacs
changeset 24455:013e22e5d30c
(smtpmail-do-bcc): Fix regexp.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 09 Mar 1999 03:02:55 +0000 |
parents | fe0089dd2d2f |
children | c79fbd7d8162 |
files | lisp/mail/smtpmail.el |
diffstat | 1 files changed, 9 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/smtpmail.el Mon Mar 08 12:06:07 1999 +0000 +++ b/lisp/mail/smtpmail.el Tue Mar 09 03:02:55 1999 +0000 @@ -673,18 +673,15 @@ There may be multiple BCC: lines, and each may have arbitrarily many continuation lines." (let ((case-fold-search t)) - (save-excursion (goto-char (point-min)) - ;; iterate over all BCC: lines - (while (re-search-forward "^\(RESENT-\)?BCC:" header-end t) - (delete-region (match-beginning 0) (progn (forward-line 1) (point))) - ;; get rid of any continuation lines - (while (and (looking-at "^[ \t].*\n") (< (point) header-end)) - (replace-match "")) - ) - ) ;; save-excursion - ) ;; let - ) - + (save-excursion + (goto-char (point-min)) + ;; iterate over all BCC: lines + (while (re-search-forward "^\\(RESENT-\\)?BCC:" header-end t) + (delete-region (match-beginning 0) + (progn (forward-line 1) (point))) + ;; get rid of any continuation lines + (while (and (looking-at "^[ \t].*\n") (< (point) header-end)) + (replace-match "")))))) (provide 'smtpmail)