aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-05-20 21:59:36 -0400
committerGlenn Morris2013-05-20 21:59:36 -0400
commit195eea0f0b1dfe11ddc87117ec4e486379588be7 (patch)
tree585d5389c53b338ac86f17acbef74db0d9637c2c
parentb4da2cbb0d5d5d7315b13f9bf7ad445d948caac2 (diff)
downloademacs-195eea0f0b1dfe11ddc87117ec4e486379588be7.tar.gz
emacs-195eea0f0b1dfe11ddc87117ec4e486379588be7.zip
* lisp/mh-e/mh-comp.el (mh-regexp-in-field-p): Fix previous change.
-rw-r--r--lisp/mh-e/ChangeLog4
-rw-r--r--lisp/mh-e/mh-comp.el27
2 files changed, 17 insertions, 14 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index f256e3841e4..d85ae04a16c 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,7 @@
12013-05-21 Glenn Morris <rgm@gnu.org>
2
3 * mh-comp.el (mh-regexp-in-field-p): Fix previous change.
4
12013-05-09 Glenn Morris <rgm@gnu.org> 52013-05-09 Glenn Morris <rgm@gnu.org>
2 6
3 * mh-e.el (mh-sortm-args, mh-default-folder-for-message-function): 7 * mh-e.el (mh-sortm-args, mh-default-folder-for-message-function):
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el
index 9610774b414..782537aee2d 100644
--- a/lisp/mh-e/mh-comp.el
+++ b/lisp/mh-e/mh-comp.el
@@ -1,7 +1,6 @@
1;;; mh-comp.el --- MH-E functions for composing and sending messages 1;;; mh-comp.el --- MH-E functions for composing and sending messages
2 2
3;; Copyright (C) 1993, 1995, 1997, 2000-2013 Free Software Foundation, 3;; Copyright (C) 1993, 1995, 1997, 2000-2013 Free Software Foundation, Inc.
4;; Inc.
5 4
6;; Author: Bill Wohler <wohler@newt.com> 5;; Author: Bill Wohler <wohler@newt.com>
7;; Maintainer: Bill Wohler <wohler@newt.com> 6;; Maintainer: Bill Wohler <wohler@newt.com>
@@ -1204,18 +1203,18 @@ discarded."
1204 (save-excursion 1203 (save-excursion
1205 (let ((search-result nil)) 1204 (let ((search-result nil))
1206 (while fields 1205 (while fields
1207 (let ((field (car fields)) 1206 (let* ((field (car fields))
1208 (syntax-table 1207 (syntax-table
1209 (or mh-regexp-in-field-syntax-table 1208 (or mh-regexp-in-field-syntax-table
1210 (let ((case-fold-search t)) 1209 (let ((case-fold-search t))
1211 (cond 1210 (cond
1212 ((string-match field "^To$\\|^[BD]?cc$\\|^From$") 1211 ((string-match field "^To$\\|^[BD]?cc$\\|^From$")
1213 mh-addr-syntax-table) 1212 mh-addr-syntax-table)
1214 ((string-match field "^Fcc$") 1213 ((string-match field "^Fcc$")
1215 mh-fcc-syntax-table) 1214 mh-fcc-syntax-table)
1216 (t 1215 (t
1217 (syntax-table))) 1216 (syntax-table)))
1218 )))) 1217 ))))
1219 (if (and (mh-goto-header-field field) 1218 (if (and (mh-goto-header-field field)
1220 (set-syntax-table syntax-table) 1219 (set-syntax-table syntax-table)
1221 (re-search-forward 1220 (re-search-forward