diff options
| -rw-r--r-- | lisp/dired.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index db067c5da16..47feb3aa50b 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -1417,8 +1417,11 @@ see `dired-view-command-alist'. Otherwise, display it in another buffer." | |||
| 1417 | (if (string-match (car elt) file) | 1417 | (if (string-match (car elt) file) |
| 1418 | (setq cmd (cdr elt)))) | 1418 | (setq cmd (cdr elt)))) |
| 1419 | (if cmd | 1419 | (if cmd |
| 1420 | (dired-run-shell-command (concat cmd " " | 1420 | (call-process shell-file-name nil 0 nil |
| 1421 | (shell-quote-argument file))) | 1421 | "-c" |
| 1422 | (concat cmd " " | ||
| 1423 | (shell-quote-argument file) | ||
| 1424 | " &")) | ||
| 1422 | (view-file file)))))) | 1425 | (view-file file)))))) |
| 1423 | 1426 | ||
| 1424 | (defun dired-find-file-other-window () | 1427 | (defun dired-find-file-other-window () |