# HG changeset patch # User Richard M. Stallman # Date 1201618052 0 # Node ID d8c232d0bd1c34f12e4f39c33642799e2c138b7e # Parent c293ff04d6e98af84deef5b5593effdd29c6cbae (tags-query-replace): Delete unused optional args. Doc fix. diff -r c293ff04d6e9 -r d8c232d0bd1c lisp/progmodes/etags.el --- a/lisp/progmodes/etags.el Tue Jan 29 14:45:13 2008 +0000 +++ b/lisp/progmodes/etags.el Tue Jan 29 14:47:32 2008 +0000 @@ -1815,7 +1815,7 @@ (tags-loop-continue (or file-list-form t)))) ;;;###autoload -(defun tags-query-replace (from to &optional delimited file-list-form start end) +(defun tags-query-replace (from to &optional delimited file-list-form) "Do `query-replace-regexp' of FROM with TO on all files listed in tags table. Third arg DELIMITED (prefix arg) means replace only word-delimited matches. If you exit (\\[keyboard-quit], RET or q), you can resume the query replace @@ -1824,7 +1824,10 @@ Fifth and sixth arguments START and END are accepted, for compatibility with `query-replace-regexp', and ignored. -See also documentation of the variable `tags-file-name'." +If FILE-LIST-FORM is non-nil, it is a form to evaluate to +produce the list of files to search. + +See also the documentation of the variable `tags-file-name'." (interactive (query-replace-read-args "Tags query replace (regexp)" t t)) (setq tags-loop-scan `(let ,(unless (equal from (downcase from)) '((case-fold-search nil)))