all repos — nixfiles @ 3ee4e29e788dbf5b7caff9c145ba82793d86a4f4

System and user configuration, managed by nix and home-manager

Emacs: use xdg-open when found, even if not in a DE

Alan Pearce
commit

3ee4e29e788dbf5b7caff9c145ba82793d86a4f4

parent

0409b0d4c59db2a52e944e3766558f042035b790

1 file changed, 4 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -319,6 +319,10 @@ :config (progn
(setq exec-path-from-shell-arguments '("-l")) (exec-path-from-shell-initialize))) +(with-eval-after-load 'browse-url + (when (executable-find "xdg-open") + (setq browse-url-browser-function #'browse-url-xdg-open))) + ;;;;; NixOS sandboxes ;; I'm currently exploring using nix to create sandboxes for