소스 검색

Revert "Revert "Revert "Use `xdg-open' to open files where available"""

This reverts commit 0022904e83babacbdbaf167fcbf488dbf90dd78e.
Carsten Dominik 11 년 전
부모
커밋
3f177965ee
1개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  1. 3 7
      lisp/org.el

+ 3 - 7
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'.")