|
From: | Juri Linkov |
Subject: | bug#18132: Time for a smarter dired-guess-shell-alist-default? (dired-x.el) |
Date: | Sun, 24 Oct 2021 22:08:43 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> FWIW, my version is quite different: > > (cond ((memq system-type '(darwin)) > (call-process-shell-command (concat "open " (shell-quote-argument > file)))) > ((memq system-type '(windows-nt)) > (w32-shell-execute "open" (convert-standard-filename file))) > ((memq system-type '(gnu/linux)) > (call-process-shell-command (concat "xdg-open " > (shell-quote-argument file)))) Indeed, these are good system-dependent default values for the new hook-like user option.
[Prev in Thread] | Current Thread | [Next in Thread] |