[Dired] Always use same applications to open files
This commit is contained in:
parent
2bc02703eb
commit
60a5b4572c
4
init.el
4
init.el
|
@ -1788,8 +1788,6 @@ With given ARG, display files in `db/important-document-path’."
|
|||
dired-isearch-filenames 'dwim
|
||||
dired-auto-revert-buffer t)
|
||||
|
||||
(if on-windows
|
||||
(setq dired-guess-shell-alist-user '((".*" "cmd /c")))
|
||||
(setq dired-guess-shell-alist-user
|
||||
'(("\\.pdf\\'" "evince")
|
||||
("\\.ps\\'" "evince")
|
||||
|
@ -1800,7 +1798,7 @@ With given ARG, display files in `db/important-document-path’."
|
|||
"vlc")
|
||||
("\\.\\(?:mp3\\|flac\\|ogg\\)\\'" "mplayer")
|
||||
("\\.html?\\'" "firefox")
|
||||
("\\.docx?\\'" "loffice"))))
|
||||
("\\.docx?\\'" "loffice")))
|
||||
|
||||
(when on-windows
|
||||
(setq directory-free-space-program nil)))
|
||||
|
|
Loading…
Reference in New Issue