[Dired] Always use same applications to open files

This commit is contained in:
Daniel - 2019-12-06 13:11:46 +01:00
parent 2bc02703eb
commit 60a5b4572c
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 11 additions and 13 deletions

View File

@ -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)))