# HG changeset patch # User Markus Rost # Date 1021855325 0 # Node ID 374dfaadcd0fde237713a6fe233d86789813f77a # Parent 845f37c81b22758193a0df63f130af326b463075 (find-dired): Implement revert-buffer-function. diff -r 845f37c81b22 -r 374dfaadcd0f lisp/find-dired.el --- 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