From: Gerd Moellmann Date: Fri, 5 Oct 2001 09:34:27 +0000 (+0000) Subject: (mail-abbrev-in-expansion-header-p): Simplify. X-Git-Tag: ttn-vms-21-2-B4~19751 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=349deff4c6b51955488062a6b14ade8fb1757b8c;p=emacs.git (mail-abbrev-in-expansion-header-p): Simplify. --- diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el index 818255ffafa..baf08903a79 100644 --- a/lisp/mail/mailabbrev.el +++ b/lisp/mail/mailabbrev.el @@ -440,11 +440,8 @@ of a mail alias.") (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)) ;;