diff lisp/mail/mailabbrev.el @ 39566:497b8fa7e100

(mail-abbrev-in-expansion-header-p): Simplify.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 05 Oct 2001 09:34:27 +0000
parents 253f761ad37b
children b85c94030e4a
line wrap: on
line diff
--- a/lisp/mail/mailabbrev.el	Fri Oct 05 09:32:11 2001 +0000
+++ b/lisp/mail/mailabbrev.el	Fri Oct 05 09:34:27 2001 +0000
@@ -440,11 +440,8 @@
     (and ;;
          ;; we are on an appropriate header line...
      (save-excursion
-       (beginning-of-line)
-       ;; skip backwards over continuation lines.
-       (while (and (looking-at "^[ \t]")
-		   (not (= (point) (point-min))))
-	 (forward-line -1))
+       (unless (eobp) (forward-char 1))
+       (re-search-backward "^[^ \t]" nil 'move)
        ;; are we at the front of an appropriate header line?
        (looking-at mail-abbrev-mode-regexp))
      ;;