summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-05-02 22:57:06 +0300
committerEli Zaretskii <eliz@gnu.org>2016-05-02 22:57:06 +0300
commitec554d7741d2ff2828ecaa437cc26a6e615f1319 (patch)
tree5a09df2b806cd18d1e8e828b44758bcf0b1f7061
parentbf21c84f0d3dab33b4836098b789eaddf9492b2a (diff)
downloademacs-ec554d7741d2ff2828ecaa437cc26a6e615f1319.tar.gz
Fix documentation of dired-aux search/replace commands
* lisp/dired-aux.el (dired-do-find-regexp) (dired-do-find-regexp-and-replace): Doc fixes. (Bug#23429) * lisp/dired.el: Update the corresponding autoload forms.
-rw-r--r--lisp/dired-aux.el7
-rw-r--r--lisp/dired.el9
2 files changed, 11 insertions, 5 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 08db1877f1a..cef4a96b763 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -2719,7 +2719,8 @@ with the command \\[tags-loop-continue]."
;;;###autoload
(defun dired-do-find-regexp (regexp)
- "Find all matches for REGEXP in all marked files, recursively."
+ "Find all matches for REGEXP in all marked files.
+For any marked directory, all of its files are searched recursively."
(interactive "sSearch marked files (regexp): ")
(require 'grep)
(defvar grep-find-ignored-files)
@@ -2740,7 +2741,9 @@ with the command \\[tags-loop-continue]."
;;;###autoload
(defun dired-do-find-regexp-and-replace (from to)
- "Replace matches of FROM with TO, in all marked files, recursively."
+ "Replace matches of FROM with TO, in all marked files.
+For any marked directory, matches in all of its files are replaced,
+recursively."
(interactive
(let ((common
(query-replace-read-args
diff --git a/lisp/dired.el b/lisp/dired.el
index ab111bed1b1..41525a45595 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -3919,7 +3919,7 @@ Ask means pop up a menu for the user to select one of copy, move or link."
;;; Start of automatically extracted autoloads.
-;;;### (autoloads nil "dired-aux" "dired-aux.el" "6b3eb2080834b976621adc041c42f5cc")
+;;;### (autoloads nil "dired-aux" "dired-aux.el" "00fe45cfae47cace47cffc09afca6832")
;;; Generated autoloads from dired-aux.el
(autoload 'dired-diff "dired-aux" "\
@@ -4423,12 +4423,15 @@ with the command \\[tags-loop-continue].
\(fn FROM TO &optional DELIMITED)" t nil)
(autoload 'dired-do-find-regexp "dired-aux" "\
-Find all matches for REGEXP in all marked files, recursively.
+Find all matches for REGEXP in all marked files.
+For any marked directory, all of its files are searched recursively.
\(fn REGEXP)" t nil)
(autoload 'dired-do-find-regexp-and-replace "dired-aux" "\
-Replace matches of FROM with TO, in all marked files, recursively.
+Replace matches of FROM with TO, in all marked files.
+For any marked directory, matches in all of its files are replaced,
+recursively.
\(fn FROM TO)" t nil)