diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/mail/feedmail.el | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el index e2c1e7e0480..6ddb0b5e908 100644 --- a/lisp/mail/feedmail.el +++ b/lisp/mail/feedmail.el | |||
| @@ -2651,10 +2651,19 @@ been weeded out." | |||
| 2651 | "Internal; finds the end of message header fields, returns mark just before it" | 2651 | "Internal; finds the end of message header fields, returns mark just before it" |
| 2652 | (save-excursion | 2652 | (save-excursion |
| 2653 | (goto-char (point-min)) | 2653 | (goto-char (point-min)) |
| 2654 | (if (re-search-forward (concat "^" (regexp-quote mail-header-separator) "\n") nil noerror) | 2654 | (when (or (re-search-forward (concat "^" |
| 2655 | (progn | 2655 | (regexp-quote mail-header-separator) |
| 2656 | (forward-line -1) | 2656 | "\n") |
| 2657 | (point-marker))))) | 2657 | nil noerror) |
| 2658 | (and feedmail-queue-alternative-mail-header-separator | ||
| 2659 | (re-search-forward | ||
| 2660 | (concat "^" | ||
| 2661 | (regexp-quote | ||
| 2662 | feedmail-queue-alternative-mail-header-separator) | ||
| 2663 | "\n") | ||
| 2664 | nil noerror))) | ||
| 2665 | (forward-line -1) | ||
| 2666 | (point-marker)))) | ||
| 2658 | 2667 | ||
| 2659 | (provide 'feedmail) | 2668 | (provide 'feedmail) |
| 2660 | ;;; feedmail.el ends here | 2669 | ;;; feedmail.el ends here |