comparison lisp/mh-e/mh-compat.el @ 90295:4b3d39451150

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-14 Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 58-65) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 22-28) - Update from CVS - Merge from emacs--devo--0 - Update from CVS: lisp/gnus.el: Remove bogus comment.
author Miles Bader <miles@gnu.org>
date Sat, 11 Feb 2006 00:11:19 +0000
parents 3741bfb4402f
children 3f537f106072
comparison
equal deleted inserted replaced
90294:c5406394f567 90295:4b3d39451150
142 The argument STRING is ignored." 142 The argument STRING is ignored."
143 (buffer-substring-no-properties 143 (buffer-substring-no-properties
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.
149 This function is used by XEmacs that lacks `replace-regexp-in-string'. 149 This function is used by XEmacs that lacks `replace-regexp-in-string'.
150 The function `replace-in-string' is used instead. 150 The function `replace-in-string' is used instead.
151 The arguments FIXEDCASE, LITERAL, SUBEXP, and START are ignored." 151 The arguments FIXEDCASE, LITERAL, SUBEXP, and START are ignored."
152 (replace-in-string string regexp rep)) 152 (replace-in-string string regexp rep))