Commit 7e90bcf5 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(dired-jump): Never turn omitting *on*.

Refresh the line *before* turning omitting off.
parent 9a656d19
......@@ -425,14 +425,15 @@ buffer and try again."
(dired dir))
(if file
(or (dired-goto-file file)
;; Toggle omitting, if necessary, and try again.
(dired-omit-toggle t)
(dired-goto-file file))
;; refresh and try again
(dired-insert-subdir (file-name-directory file))
(dired-goto-file file)))))))
(dired-goto-file file))
;; Toggle omitting, if it is on, and try again.
(if dired-omit-files-p
(dired-goto-file file))))))))
(defun dired-jump-other-window ()
"Like \\[dired-jump] (dired-jump) but in other window."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment