]> code.delx.au - gnu-emacs/commitdiff
(find-dired): Implement revert-buffer-function.
authorMarkus Rost <rost@math.uni-bielefeld.de>
Mon, 20 May 2002 00:42:27 +0000 (00:42 +0000)
committerMarkus Rost <rost@math.uni-bielefeld.de>
Mon, 20 May 2002 00:42:27 +0000 (00:42 +0000)
lisp/ChangeLog
lisp/find-dired.el

index 463c72f3d5f7a45235cfa5e4229a422c602c613a..5d8da33a5bb2fcd160dc4ea965c4500407f15d78 100644 (file)
@@ -1,3 +1,10 @@
+2002-05-19  Markus Rost  <rost@math.ohio-state.edu>
+
+       * find-dired.el (find-dired): Implement revert-buffer-function.
+
+       * mail/emacsbug.el (report-emacs-bug-hook): Do another
+       save-excursion.
+
 2002-05-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
 
        * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
index 01d89fd91165c1398219f57999a3932f7ba4b85a..ec098d14ecfdaefb2bba6a6fa80216b19aee7331 100644 (file)
@@ -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