diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2013-09-17 21:51:45 +0200 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2013-09-17 21:51:45 +0200 |
commit | 3f177965ee606a64e6fb6cc948a12f8f5a0290c4 (patch) | |
tree | 06c547e9ce00066342c41249cb32c9b9e3d85c89 | |
parent | a761d9128a6ea3d627cbd9108092220ca06acb10 (diff) | |
download | org-mode-3f177965ee606a64e6fb6cc948a12f8f5a0290c4.tar.gz |
Revert "Revert "Revert "Use `xdg-open' to open files where available"""
This reverts commit 0022904e83babacbdbaf167fcbf488dbf90dd78e.
-rw-r--r-- | lisp/org.el | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lisp/org.el b/lisp/org.el index 0cf141c..0762696 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -1899,13 +1899,9 @@ single keystroke rather than having to type \"yes\"." :type 'regexp) (defconst org-file-apps-defaults-gnu - (append - '((remote . emacs)) - (if (executable-find "xdg-open") - '((system . "xdg-open %s") - (t . "xdg-open %s")) - '((system . mailcap) - (t . mailcap)))) + '((remote . emacs) + (system . mailcap) + (t . mailcap)) "Default file applications on a UNIX or GNU/Linux system. See `org-file-apps'.") |