(dired-isearch-filenames): Add new context-dependent
commitb9d9c1596ed4e0b8721d93b2af58a69a9a8fa018
authorJuri Linkov <juri@jurta.org>
Sat, 22 Nov 2008 20:40:28 +0000 (22 20:40 +0000)
committerJuri Linkov <juri@jurta.org>
Sat, 22 Nov 2008 20:40:28 +0000 (22 20:40 +0000)
treec8e2832aa5b263f100da83a6085f8e3742cffcf1
parente1b867a0bc762a356697bdf69df5106dc3759d26
(dired-isearch-filenames): Add new context-dependent
option `dwim'.  Change non-dwim option from `dired-filename' to `t'.
Doc fix.
(dired-isearch-filenames-setup): Run filename Isearch only when
dired-isearch-filenames is t or dired-isearch-filenames is `dwim'
and the text property `dired-filename' at point is non-nil.
In this case also set isearch-message-prefix-add to "filename ".
(dired-isearch-filenames-end): Set isearch-message-prefix-add to nil.
(dired-isearch-filenames, dired-isearch-filenames-regexp):
Don't let-bind isearch-message-prefix-add since this is done now
in dired-isearch-filenames-setup.
lisp/dired-aux.el