# HG changeset patch # User Gerd Moellmann # Date 1002274467 0 # Node ID 497b8fa7e100517c6141ed34a14d6dafe225f947 # Parent e03e925846db6a3098885158c8aa4d7f8d1f95a7 (mail-abbrev-in-expansion-header-p): Simplify. diff -r e03e925846db -r 497b8fa7e100 lisp/mail/mailabbrev.el --- 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)) ;;