aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Rost2002-05-20 00:42:27 +0000
committerMarkus Rost2002-05-20 00:42:27 +0000
commit2b29f15cc4ff308f7a38c9ba40b8bbd0a0d88817 (patch)
treecb28ab69286a964bfa33a3641df0e65bc8e44192
parentc71276553df19da29003991e05d2fec083de57a2 (diff)
downloademacs-2b29f15cc4ff308f7a38c9ba40b8bbd0a0d88817.tar.gz
emacs-2b29f15cc4ff308f7a38c9ba40b8bbd0a0d88817.zip
(find-dired): Implement revert-buffer-function.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/find-dired.el7
2 files changed, 10 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 463c72f3d5f..5d8da33a5bb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12002-05-19 Markus Rost <rost@math.ohio-state.edu>
2
3 * find-dired.el (find-dired): Implement revert-buffer-function.
4
5 * mail/emacsbug.el (report-emacs-bug-hook): Do another
6 save-excursion.
7
12002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk> 82002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
2 9
3 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit. 10 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
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."
121 (car find-ls-option))) 121 (car find-ls-option)))
122 ;; The next statement will bomb in classic dired (no optional arg allowed) 122 ;; The next statement will bomb in classic dired (no optional arg allowed)
123 (dired-mode dir (cdr find-ls-option)) 123 (dired-mode dir (cdr find-ls-option))
124 ;; This really should rerun the find command, but I don't 124 (set (make-local-variable 'revert-buffer-function)
125 ;; have time for that. 125 `(lambda (ignore-auto noconfirm)
126 (use-local-map (append (make-sparse-keymap) (current-local-map))) 126 (find-dired ,dir ,find-args)))
127 (define-key (current-local-map) "g" 'undefined)
128 ;; Set subdir-alist so that Tree Dired will work: 127 ;; Set subdir-alist so that Tree Dired will work:
129 (if (fboundp 'dired-simple-subdir-alist) 128 (if (fboundp 'dired-simple-subdir-alist)
130 ;; will work even with nested dired format (dired-nstd.el,v 1.15 129 ;; will work even with nested dired format (dired-nstd.el,v 1.15