Mercurial > emacs
changeset 99496:3701681d219c
(dired-isearch-filenames)
(dired-isearch-filenames-regexp):
Let-bind isearch-message-prefix-add to "filename ".
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Tue, 11 Nov 2008 20:12:44 +0000 |
parents | 7425e5547fbd |
children | 6f3388683948 |
files | lisp/dired-aux.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired-aux.el Tue Nov 11 20:11:34 2008 +0000 +++ b/lisp/dired-aux.el Tue Nov 11 20:12:44 2008 +0000 @@ -2355,14 +2355,16 @@ (defun dired-isearch-filenames () "Search for a string using Isearch only in file names in the Dired buffer." (interactive) - (let ((dired-isearch-filenames t)) + (let ((dired-isearch-filenames t) + (isearch-message-prefix-add "filename ")) (isearch-forward))) ;;;###autoload (defun dired-isearch-filenames-regexp () "Search for a regexp using Isearch only in file names in the Dired buffer." (interactive) - (let ((dired-isearch-filenames t)) + (let ((dired-isearch-filenames t) + (isearch-message-prefix-add "filename ")) (isearch-forward-regexp)))