summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2013-09-02 22:55:30 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2013-09-02 22:55:30 +0200
commite26c55f5b5f1189f63c9a0a41f29164fd878a698 (patch)
treeabc3a98b7e0703b4f8bafcdaef4d349856ec4ca8
parent24812caff400bab66b66c42e761cbb5a8fc9525f (diff)
downloadorg-mode-e26c55f5b5f1189f63c9a0a41f29164fd878a698.tar.gz
Revert "Use `xdg-open' to open files where available"
This reverts commit 15ae89b3949f52db1b5579e383c2d9f6c9173992.
-rw-r--r--lisp/org.el10
1 files changed, 3 insertions, 7 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 2f81f82..1120c86 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -1894,13 +1894,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'.")