bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7501: Minor doc & comment typos in vc-dir-query-replace-regexp


From: Bob Rogers
Subject: bug#7501: Minor doc & comment typos in vc-dir-query-replace-regexp
Date: Sat, 27 Nov 2010 17:38:23 -0500

   The second doc line was duplicated, and the wrong function name was
cited in the comment (there is no `dired-do-replace-regexp').

                                        -- Bob Rogers
                                           http://www.rgrjr.com/

------------------------------------------------------------------------
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index 4397251..cd40468 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -753,12 +753,11 @@ To continue searching for next match, use command 
\\[tags-loop-continue]."
 
 (defun vc-dir-query-replace-regexp (from to &optional delimited)
   "Do `query-replace-regexp' of FROM with TO, on all marked files.
-For marked directories, use the files displayed from those directories.
 If a directory is marked, then use the files displayed for that directory.
 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
 with the command \\[tags-loop-continue]."
-  ;; FIXME: this is almost a copy of `dired-do-replace-regexp'.  This
+  ;; FIXME: this is almost a copy of `dired-do-query-replace-regexp'.  This
   ;; should probably be made generic and used in both places instead of
   ;; duplicating it here.
   (interactive





reply via email to

[Prev in Thread] Current Thread [Next in Thread]