# HG changeset patch # User Richard M. Stallman # Date 1037899762 0 # Node ID 3531509372aa0c909e0bf09ac2749b7fb830323a # Parent ada254f3e717029c23cbe2e9725d0dadfa83e8d5 (find-dired): Set dired-sort-inhibit to t buffer-locally. diff -r ada254f3e717 -r 3531509372aa lisp/find-dired.el --- 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)))