summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2008-01-29 14:49:10 +0000
committerRichard M. Stallman <rms@gnu.org>2008-01-29 14:49:10 +0000
commitc575e6587e4bea7e181bc8a2b09e57ee0e4a11a1 (patch)
treef27d28d31dbdd44ca717a84e9a90ef6303294bcd /lisp
parent66381027737a926f4309a86b0b1bab24d0dad381 (diff)
downloademacs-c575e6587e4bea7e181bc8a2b09e57ee0e4a11a1.tar.gz
(tags-query-replace): Delete unused optional args. Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/progmodes/etags.el7
2 files changed, 12 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4e454acfc8e..591a159d4d6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-29 Richard Stallman <rms@gnu.org>
+
+ * progmodes/etags.el (tags-query-replace): Delete unused optional args.
+ Doc fix.
+
+ * files.el (hack-local-variables): Don't query about fake variables.
+
2008-01-27 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-ui.el (gdb-create-define-alist): Don't call
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index a22853fb404..0a66560f827 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1815,7 +1815,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 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 @@ Fourth arg FILE-LIST-FORM non-nil means initialize the replacement loop.
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)))