diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el index 71698549d3e..fb31e4cb4e2 100644 --- a/lisp/mail/supercite.el +++ b/lisp/mail/supercite.el @@ -1419,7 +1419,8 @@ non-nil." (if (not (bobp)) (if (and (eolp) (progn (forward-line -1) - (or (looking-at mail-header-separator) + (or (looking-at + (concat "^" (regexp-quote mail-header-separator) "$")) (and (eq major-mode 'mh-letter-mode) (mh-in-header-p))))) (progn (forward-line)