# HG changeset patch # User Karl Heuer # Date 920948575 0 # Node ID 013e22e5d30c9eef1e935608412db288804e4db2 # Parent fe0089dd2d2f4f6e01f2eb9299c1616cdcd5d753 (smtpmail-do-bcc): Fix regexp. diff -r fe0089dd2d2f -r 013e22e5d30c lisp/mail/smtpmail.el --- 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)