Function: ebrowse-tags-query-replace

ebrowse-tags-query-replace is an autoloaded, interactive and byte-compiled function defined in ebrowse.el.gz.

Signature

(ebrowse-tags-query-replace FROM TO)

Documentation

Query replace FROM with TO in all files of a class tree.

With prefix arg, process files of marked classes only.

As each match is found, the user must type a character saying what to do with it. Type SPC or y to replace the match, DEL or n to skip and go to the next match. For more directions, type <f1> (help-command) at that time.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ebrowse.el.gz
;;;###autoload
(defun ebrowse-tags-query-replace (from to)
  "Query replace FROM with TO in all files of a class tree.
With prefix arg, process files of marked classes only.

As each match is found, the user must type a character saying
what to do with it.  Type SPC or `y' to replace the match,
DEL or `n' to skip and go to the next match.  For more directions,
type \\[help-command] at that time."
  (interactive
   "sTree query replace (regexp): \nsTree query replace %s by: ")
  (setq ebrowse-tags-loop-call
	(list (lambda ()
		(and (save-excursion
		       (re-search-forward from nil t))
		     (not (perform-replace from to t t nil))))))
  (ebrowse-tags-loop-continue 'first-time))