From: Eli Zaretskii Date: Mon, 2 May 2016 19:57:06 +0000 (+0300) Subject: Fix documentation of dired-aux search/replace commands X-Git-Tag: emacs-25.0.94~47 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ec554d7741d2ff2828ecaa437cc26a6e615f1319;p=emacs.git 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. --- 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)