dired-tex-unclean-extensions
(list ".dvi"))))
\f
+(defvar archive-superior-buffer)
(defvar tar-superior-buffer)
;;; JUMP.
(interactive
(list nil (and current-prefix-arg
(read-file-name "Jump to Dired file: "))))
- (if (bound-and-true-p tar-subfile-mode)
- (switch-to-buffer tar-superior-buffer)
+ (cond
+ ((bound-and-true-p archive-subfile-mode)
+ (switch-to-buffer archive-superior-buffer))
+ ((bound-and-true-p tar-subfile-mode)
+ (switch-to-buffer tar-superior-buffer))
+ (t
;; Expand file-name before `dired-goto-file' call:
;; `dired-goto-file' requires its argument to be an absolute
;; file name; the result of `read-file-name' could be
;; Toggle omitting, if it is on, and try again.
(when dired-omit-mode
(dired-omit-mode)
- (dired-goto-file file))))))))
+ (dired-goto-file file)))))))))
;;;###autoload
(defun dired-jump-other-window (&optional file-name)