diff options
| author | Juri Linkov | 2009-11-19 17:37:22 +0000 |
|---|---|---|
| committer | Juri Linkov | 2009-11-19 17:37:22 +0000 |
| commit | da205913b73cd0b7223c3d0d378466590bfcabc4 (patch) | |
| tree | 5dc49508dfda4c9b63c0593f8a7e3487ad6bf9c1 | |
| parent | e2b6892ea654e2580fa715138221fc57b2ada715 (diff) | |
| download | emacs-da205913b73cd0b7223c3d0d378466590bfcabc4.tar.gz emacs-da205913b73cd0b7223c3d0d378466590bfcabc4.zip | |
* find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
* progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/find-dired.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/grep.el | 3 |
3 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ee53e709a1e..9249454f5bd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-11-19 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * find-dired.el (find-name-arg): Remove autoload. (Bug#4387) | ||
| 4 | |||
| 5 | * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'. | ||
| 6 | |||
| 1 | 2009-11-19 Chong Yidong <cyd@stupidchicken.com> | 7 | 2009-11-19 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 8 | ||
| 3 | * mail/sendmail.el (mail-yank-prefix): Change default to "> ". | 9 | * mail/sendmail.el (mail-yank-prefix): Change default to "> ". |
diff --git a/lisp/find-dired.el b/lisp/find-dired.el index 98643f71777..aa68286d3a4 100644 --- a/lisp/find-dired.el +++ b/lisp/find-dired.el | |||
| @@ -70,7 +70,7 @@ On other systems, the closest you can come is to use `-l'." | |||
| 70 | :type 'string | 70 | :type 'string |
| 71 | :group 'find-dired) | 71 | :group 'find-dired) |
| 72 | 72 | ||
| 73 | ;;;###autoload | 73 | ;; This used to be autoloaded (see bug#4387). |
| 74 | (defcustom find-name-arg | 74 | (defcustom find-name-arg |
| 75 | (purecopy (if read-file-name-completion-ignore-case | 75 | (purecopy (if read-file-name-completion-ignore-case |
| 76 | "-iname" | 76 | "-iname" |
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 7d01777d441..c1d19c37bc8 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el | |||
| @@ -876,7 +876,7 @@ This command shares argument histories with \\[rgrep] and \\[grep]." | |||
| 876 | (setq default-directory dir)))))) | 876 | (setq default-directory dir)))))) |
| 877 | 877 | ||
| 878 | 878 | ||
| 879 | (defvar find-name-arg) ; autoloaded | 879 | (defvar find-name-arg) ; not autoloaded but defined in find-dired |
| 880 | 880 | ||
| 881 | ;;;###autoload | 881 | ;;;###autoload |
| 882 | (defun rgrep (regexp &optional files dir confirm) | 882 | (defun rgrep (regexp &optional files dir confirm) |
| @@ -917,6 +917,7 @@ This command shares argument histories with \\[lgrep] and \\[grep-find]." | |||
| 917 | (if (not (string= regexp grep-find-command)) | 917 | (if (not (string= regexp grep-find-command)) |
| 918 | (compilation-start regexp 'grep-mode)) | 918 | (compilation-start regexp 'grep-mode)) |
| 919 | (setq dir (file-name-as-directory (expand-file-name dir))) | 919 | (setq dir (file-name-as-directory (expand-file-name dir))) |
| 920 | (require 'find-dired) ; for `find-name-arg' | ||
| 920 | (let ((command (grep-expand-template | 921 | (let ((command (grep-expand-template |
| 921 | grep-find-template | 922 | grep-find-template |
| 922 | regexp | 923 | regexp |