diff options
Diffstat (limited to 'lisp/subr.el')
-rw-r--r-- | lisp/subr.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 357eae0f505..6f164ae694e 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -4429,7 +4429,7 @@ Unless optional argument INPLACE is non-nil, return a new string." (aset newstr i tochar))) newstr)) -(defun replace-in-string (fromstring tostring instring) +(defun string-replace (fromstring tostring instring) "Replace FROMSTRING with TOSTRING in INSTRING each time it occurs." (declare (pure t)) (when (equal fromstring "") |