Mercurial > emacs
changeset 45382:374dfaadcd0f
(find-dired): Implement revert-buffer-function.
author | Markus Rost <rost@math.uni-bielefeld.de> |
---|---|
date | Mon, 20 May 2002 00:42:05 +0000 |
parents | 845f37c81b22 |
children | cf6ac39b0249 |
files | lisp/find-dired.el |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/find-dired.el Mon May 20 00:39:23 2002 +0000 +++ b/lisp/find-dired.el Mon May 20 00:42:05 2002 +0000 @@ -121,10 +121,9 @@ (car find-ls-option))) ;; The next statement will bomb in classic dired (no optional arg allowed) (dired-mode dir (cdr find-ls-option)) - ;; This really should rerun the find command, but I don't - ;; have time for that. - (use-local-map (append (make-sparse-keymap) (current-local-map))) - (define-key (current-local-map) "g" 'undefined) + (set (make-local-variable 'revert-buffer-function) + `(lambda (ignore-auto noconfirm) + (find-dired ,dir ,find-args))) ;; Set subdir-alist so that Tree Dired will work: (if (fboundp 'dired-simple-subdir-alist) ;; will work even with nested dired format (dired-nstd.el,v 1.15