diff options
author | Markus Rost <rost@math.uni-bielefeld.de> | 2002-05-20 00:42:27 +0000 |
---|---|---|
committer | Markus Rost <rost@math.uni-bielefeld.de> | 2002-05-20 00:42:27 +0000 |
commit | 2b29f15cc4ff308f7a38c9ba40b8bbd0a0d88817 (patch) | |
tree | cb28ab69286a964bfa33a3641df0e65bc8e44192 /lisp/find-dired.el | |
parent | c71276553df19da29003991e05d2fec083de57a2 (diff) | |
download | emacs-2b29f15cc4ff308f7a38c9ba40b8bbd0a0d88817.tar.gz |
(find-dired): Implement revert-buffer-function.
Diffstat (limited to 'lisp/find-dired.el')
-rw-r--r-- | lisp/find-dired.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/find-dired.el b/lisp/find-dired.el index 01d89fd9116..ec098d14ecf 100644 --- a/lisp/find-dired.el +++ b/lisp/find-dired.el @@ -121,10 +121,9 @@ as the final argument." (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 |