diff options
| author | Gerd Moellmann | 1999-12-09 15:15:54 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-12-09 15:15:54 +0000 |
| commit | 2771a002ef28d481e7e4e6cc95db01ffdca7ce37 (patch) | |
| tree | 64a7f10f2e02763842b8618e9d098d0fb999d8c1 /lisp/mail | |
| parent | 3dac25a97282fd026de4abe51496f752da1929fd (diff) | |
| download | emacs-2771a002ef28d481e7e4e6cc95db01ffdca7ce37.tar.gz emacs-2771a002ef28d481e7e4e6cc95db01ffdca7ce37.zip | |
(feedmail-find-eoh): Take
feedmail-queue-alternative-mail-header-separator into account.
Diffstat (limited to 'lisp/mail')
| -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 |