From: Gerd Moellmann Date: Tue, 25 Apr 2000 19:17:18 +0000 (+0000) Subject: (tags-query-replace): Add parameters START X-Git-Tag: emacs-pretest-21.0.90~4145 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=daf462b5d4fd1a55b2c68057dc8d7b18b2b17794;p=emacs.git (tags-query-replace): Add parameters START and END. Construct a form with additional arguments for perform-replace. --- diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index b8d998e16ca..0659c8a5106 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -1618,7 +1618,7 @@ See documentation of variable `tags-file-name'." (tags-loop-continue (or file-list-form t)))) ;;;###autoload -(defun tags-query-replace (from to &optional delimited file-list-form) +(defun tags-query-replace (from to &optional delimited start end file-list-form) "Query-replace-regexp FROM with TO through all files listed in tags table. Third arg DELIMITED (prefix arg) means replace only word-delimited matches. If you exit (\\[keyboard-quit] or ESC), you can resume the query-replace @@ -1634,7 +1634,7 @@ See documentation of variable `tags-file-name'." ;; will see it. '(goto-char (match-beginning 0)))) tags-loop-operate (list 'perform-replace - (list 'quote from) (list 'quote to) + (list 'quote from) (list 'quote to) nil nil t t (list 'quote delimited))) (tags-loop-continue (or file-list-form t)))