Mercurial > emacs
changeset 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 | e03e925846db |
children | 49445c8e650d |
files | lisp/mail/mailabbrev.el |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
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)) ;;