diff options
author | Tom Tromey <tromey@redhat.com> | 2013-07-26 14:02:53 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-07-26 14:02:53 -0600 |
commit | cc231cbe45d27a1906d268fb72d3b4105a2e9c65 (patch) | |
tree | c011828e2a3a18e77eaa8849e3cccb805d798f42 /lisp/mail/mailalias.el | |
parent | b34a529f177a6ea32da5cb1254f91bf9d71838db (diff) | |
parent | fec9206062b420aca84f53d05a72c3ee43244022 (diff) | |
download | emacs-cc231cbe45d27a1906d268fb72d3b4105a2e9c65.tar.gz emacs-cc231cbe45d27a1906d268fb72d3b4105a2e9c65.tar.bz2 emacs-cc231cbe45d27a1906d268fb72d3b4105a2e9c65.zip |
merge from trunk
Diffstat (limited to 'lisp/mail/mailalias.el')
-rw-r--r-- | lisp/mail/mailalias.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mail/mailalias.el b/lisp/mail/mailalias.el index c5f1e3921fa..4d9b24e0043 100644 --- a/lisp/mail/mailalias.el +++ b/lisp/mail/mailalias.el @@ -209,7 +209,9 @@ removed from alias expansions." (if (re-search-forward "[ \t]*[\n,][ \t]*" end1 t) (setq epos (match-beginning 0) seplen (- (point) epos)) - (setq epos (marker-position end1) seplen 0)) + ;; Handle the last name in this header field. + ;; We already moved END1 back across whitespace after it. + (setq epos (marker-position end1) seplen 0)) (let ((string (buffer-substring-no-properties pos epos)) translation) (if (and (not (assoc string disabled-aliases)) |