Function: mh-replace-string
mh-replace-string is an autoloaded and byte-compiled function defined
in mh-utils.el.gz.
Signature
(mh-replace-string OLD NEW)
Documentation
Replace all occurrences of OLD with NEW in the current buffer.
Ignores case when searching for OLD.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-utils.el.gz
;;;###mh-autoload
(defun mh-replace-string (old new)
"Replace all occurrences of OLD with NEW in the current buffer.
Ignores case when searching for OLD."
(goto-char (point-min))
(let ((case-fold-search t))
(while (search-forward old nil t)
(replace-match new t t))))