[Dired] Let Windows decide how to open files
This commit is contained in:
parent
1b7f3dcf85
commit
1228d6cef0
7
init.el
7
init.el
|
@ -789,12 +789,7 @@ are assumed to be of the form *.crt."
|
|||
(add-to-list 'dired-latex-unclean-extensions extension))
|
||||
|
||||
(if on-windows
|
||||
(setq dired-guess-shell-alist-user
|
||||
'(("\\.pdf\\'" "cmd /c")
|
||||
("\\.docx?\\'" "cmd /c")
|
||||
("\\.pptx?\\'" "cmd /c")
|
||||
("\\.xlsx?\\'" "cmd /c")
|
||||
("\\.one\\'" "cmd /c")))
|
||||
(setq dired-guess-shell-alist-user '((".*" "cmd /c")))
|
||||
(setq dired-guess-shell-alist-user
|
||||
'(("\\.pdf\\'" "evince")
|
||||
("\\.ps\\'" "evince")
|
||||
|
|
Loading…
Reference in New Issue