diff options
author | André Spiegel <spiegel@gnu.org> | 1998-06-05 12:46:02 +0000 |
---|---|---|
committer | André Spiegel <spiegel@gnu.org> | 1998-06-05 12:46:02 +0000 |
commit | 6e5d9ec5684c8888ad2a8d6a2d6647c0d90d9ea2 (patch) | |
tree | 42a03e5c7d5fc36ade906b38511d55438eb8c0bf /lisp/dired.el | |
parent | abc8b974597fbb4bc076df647db05cd7a49b6f98 (diff) | |
download | emacs-6e5d9ec5684c8888ad2a8d6a2d6647c0d90d9ea2.tar.gz |
(dired-internal-noselect): Call either dired-mode or MODE, but not both.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r-- | lisp/dired.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 8b602c60777..864d1b6f876 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -523,8 +523,8 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh." ;; if it was the name of a directory at all. (file-name-directory dirname)) (or switches (setq switches dired-listing-switches)) - (dired-mode dirname switches) - (if mode (funcall mode)) + (if mode (funcall mode) + (dired-mode dirname switches)) ;; default-directory and dired-actual-switches are set now ;; (buffer-local), so we can call dired-readin: (let ((failed t)) |