aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wohler2006-03-11 01:34:45 +0000
committerBill Wohler2006-03-11 01:34:45 +0000
commit4a732ae9652dfdbb83530b1bb6221de06b4b0e61 (patch)
tree7f01f29e4be34259a9b9c0e926ad3cc90d61788f
parentea8ae7654a60bf4598a6b6269fe75fb859b91651 (diff)
downloademacs-4a732ae9652dfdbb83530b1bb6221de06b4b0e61.tar.gz
emacs-4a732ae9652dfdbb83530b1bb6221de06b4b0e61.zip
(mh-replace-regexp-in-string): Pass the literal flag to
replace-in-string. This was badly needed by mh-quote-pick-expr in order to properly quote subjects when using / s on XEmacs (closes SF #1447598).
-rw-r--r--lisp/mh-e/ChangeLog5
-rw-r--r--lisp/mh-e/mh-compat.el5
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 35a1b1495f1..eecba3767f4 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,5 +1,10 @@
12006-03-10 Bill Wohler <wohler@newt.com> 12006-03-10 Bill Wohler <wohler@newt.com>
2 2
3 * mh-compat.el (mh-replace-regexp-in-string): Pass the literal
4 flag to replace-in-string. This was badly needed by
5 mh-quote-pick-expr in order to properly quote subjects when using
6 / s on XEmacs (closes SF #1447598).
7
3 * mh-e.el (mh-profile-component): Drop `s' from mhparam 8 * mh-e.el (mh-profile-component): Drop `s' from mhparam
4 -components for Mailutils compatibility (closes SF #1446985). 9 -components for Mailutils compatibility (closes SF #1446985).
5 10
diff --git a/lisp/mh-e/mh-compat.el b/lisp/mh-e/mh-compat.el
index 77e39de35f5..f048308ae30 100644
--- a/lisp/mh-e/mh-compat.el
+++ b/lisp/mh-e/mh-compat.el
@@ -232,8 +232,9 @@ The argument STRING is ignored."
232 "Replace REGEXP with REP everywhere in STRING and return result. 232 "Replace REGEXP with REP everywhere in STRING and return result.
233This function is used by XEmacs that lacks `replace-regexp-in-string'. 233This function is used by XEmacs that lacks `replace-regexp-in-string'.
234The function `replace-in-string' is used instead. 234The function `replace-in-string' is used instead.
235The arguments FIXEDCASE, LITERAL, SUBEXP, and START are ignored." 235The arguments FIXEDCASE, SUBEXP, and START, used by
236 (replace-in-string string regexp rep)) 236`replace-in-string' are ignored."
237 (replace-in-string string regexp rep literal))
237 238
238;; Copy of constant from url-util.el in Emacs 22; needed by Emacs 21. 239;; Copy of constant from url-util.el in Emacs 22; needed by Emacs 21.
239(if (not (boundp 'url-unreserved-chars)) 240(if (not (boundp 'url-unreserved-chars))