changeset 48490:3531509372aa

(find-dired): Set dired-sort-inhibit to t buffer-locally.
author Richard M. Stallman <rms@gnu.org>
date Thu, 21 Nov 2002 17:29:22 +0000
parents ada254f3e717
children 5d690a3537aa
files lisp/find-dired.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/find-dired.el	Thu Nov 21 10:58:13 2002 +0000
+++ b/lisp/find-dired.el	Thu Nov 21 17:29:22 2002 +0000
@@ -72,6 +72,8 @@
 ;; History of find-args values entered in the minibuffer.
 (defvar find-args-history nil)
 
+(defvar dired-sort-inhibit)
+
 ;;;###autoload
 (defun find-dired (dir args)
   "Run `find' and go into Dired mode on a buffer of the output.
@@ -121,6 +123,8 @@
 		       (car find-ls-option)))
     ;; The next statement will bomb in classic dired (no optional arg allowed)
     (dired-mode dir (cdr find-ls-option))
+    (make-local-variable 'dired-sort-inhibit)
+    (setq dired-sort-inhibit t)
     (set (make-local-variable 'revert-buffer-function)
 	 `(lambda (ignore-auto noconfirm)
 	    (find-dired ,dir ,find-args)))