aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wohler2006-02-09 19:06:33 +0000
committerBill Wohler2006-02-09 19:06:33 +0000
commit613cd8c53f1342b4a3ecc8a96a37b3ceb6623281 (patch)
tree96165fd2aae3e086a2dd687785861981dadb91ba
parent1834d8e7d58516e7a4d8d1750ab531ba32aba8a5 (diff)
downloademacs-613cd8c53f1342b4a3ecc8a96a37b3ceb6623281.tar.gz
emacs-613cd8c53f1342b4a3ecc8a96a37b3ceb6623281.zip
(mh-replace-regexp-in-string): Add missing regexp argument.
-rw-r--r--lisp/mh-e/ChangeLog5
-rw-r--r--lisp/mh-e/mh-compat.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index de73f331aa0..b89a4fc3d1f 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,8 @@
12006-02-09 Bill Wohler <wohler@newt.com>
2
3 * mh-compat.el(mh-replace-regexp-in-string): Add missing regexp
4 argument.
5
12006-02-08 Peter S Galbraith <psg@debian.org> 62006-02-08 Peter S Galbraith <psg@debian.org>
2 7
3 * mh-e.el (mh-invisible-header-fields-internal): Added entries 8 * mh-e.el (mh-invisible-header-fields-internal): Added entries
diff --git a/lisp/mh-e/mh-compat.el b/lisp/mh-e/mh-compat.el
index 1d7f1c90e79..090ee51c5fc 100644
--- a/lisp/mh-e/mh-compat.el
+++ b/lisp/mh-e/mh-compat.el
@@ -144,7 +144,7 @@ The argument STRING is ignored."
144 (match-beginning num) (match-end num))) 144 (match-beginning num) (match-end num)))
145 145
146(mh-defun-compat mh-replace-regexp-in-string replace-regexp-in-string 146(mh-defun-compat mh-replace-regexp-in-string replace-regexp-in-string
147 (rep string &optional fixedcase literal subexp start) 147 (regexp rep string &optional fixedcase literal subexp start)
148 "Replace REGEXP with REP everywhere in STRING and return result. 148 "Replace REGEXP with REP everywhere in STRING and return result.
149This function is used by XEmacs that lacks `replace-regexp-in-string'. 149This function is used by XEmacs that lacks `replace-regexp-in-string'.
150The function `replace-in-string' is used instead. 150The function `replace-in-string' is used instead.