[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

View File

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