;; Lines containing just >= 3 dashes, perhaps after whitespace,
;; are also sometimes used and should be separators.
(setq paragraph-start (concat (regexp-quote mail-header-separator)
- "\\|[ \t]*$\\|" page-delimiter))
+ "$\\|[ \t]*$\\|" page-delimiter))
(setq paragraph-separate paragraph-start)
(run-hooks 'text-mode-hook 'mail-mode-hook))
(if (< (point)
(save-excursion
(goto-char (point-min))
- (if (search-forward mail-header-separator nil t)
+ (if (search-forward (concat "^" mail-header-separator "$") nil t)
(point)
0)))
(let ((old-line-start (save-excursion (beginning-of-line) (point))))
(if (< (point)
(save-excursion
(goto-char (point-min))
- (if (search-forward mail-header-separator nil t)
+ (if (search-forward (concat "^" mail-header-separator "$") nil t)
(point)
0)))
(let (beg end fieldname)