[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-isearch-filenames 'dwim
|
||||||
dired-auto-revert-buffer t)
|
dired-auto-revert-buffer t)
|
||||||
|
|
||||||
(if on-windows
|
|
||||||
(setq dired-guess-shell-alist-user '((".*" "cmd /c")))
|
|
||||||
(setq dired-guess-shell-alist-user
|
(setq dired-guess-shell-alist-user
|
||||||
'(("\\.pdf\\'" "evince")
|
'(("\\.pdf\\'" "evince")
|
||||||
("\\.ps\\'" "evince")
|
("\\.ps\\'" "evince")
|
||||||
|
@ -1800,7 +1798,7 @@ With given ARG, display files in `db/important-document-path’."
|
||||||
"vlc")
|
"vlc")
|
||||||
("\\.\\(?:mp3\\|flac\\|ogg\\)\\'" "mplayer")
|
("\\.\\(?:mp3\\|flac\\|ogg\\)\\'" "mplayer")
|
||||||
("\\.html?\\'" "firefox")
|
("\\.html?\\'" "firefox")
|
||||||
("\\.docx?\\'" "loffice"))))
|
("\\.docx?\\'" "loffice")))
|
||||||
|
|
||||||
(when on-windows
|
(when on-windows
|
||||||
(setq directory-free-space-program nil)))
|
(setq directory-free-space-program nil)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user