aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-05 09:34:27 +0000
committerGerd Moellmann2001-10-05 09:34:27 +0000
commit349deff4c6b51955488062a6b14ade8fb1757b8c (patch)
tree7e36894d06065d8d3fa331cff39998c359d7986a
parent0dd7b8f0e7346bb1899faa2e0c1bdf98794d17e6 (diff)
downloademacs-349deff4c6b51955488062a6b14ade8fb1757b8c.tar.gz
emacs-349deff4c6b51955488062a6b14ade8fb1757b8c.zip
(mail-abbrev-in-expansion-header-p): Simplify.
-rw-r--r--lisp/mail/mailabbrev.el7
1 files changed, 2 insertions, 5 deletions
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.")
440 (and ;; 440 (and ;;
441 ;; we are on an appropriate header line... 441 ;; we are on an appropriate header line...
442 (save-excursion 442 (save-excursion
443 (beginning-of-line) 443 (unless (eobp) (forward-char 1))
444 ;; skip backwards over continuation lines. 444 (re-search-backward "^[^ \t]" nil 'move)
445 (while (and (looking-at "^[ \t]")
446 (not (= (point) (point-min))))
447 (forward-line -1))
448 ;; are we at the front of an appropriate header line? 445 ;; are we at the front of an appropriate header line?
449 (looking-at mail-abbrev-mode-regexp)) 446 (looking-at mail-abbrev-mode-regexp))
450 ;; 447 ;;