emacs/emacs-pdf-default.patch

14 lines
512 B
Diff
Raw Normal View History

2013-08-14 13:22:52 +00:00
diff --git a/lisp/org/org.el b/lisp/org/org.el
index 2b5603c..52545d0 100644
2013-08-14 13:22:52 +00:00
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -1963,7 +1963,7 @@ See `org-file-apps'.")
'((auto-mode . emacs)
2013-08-14 13:22:52 +00:00
("\\.mm\\'" . default)
("\\.x?html?\\'" . default)
- ("\\.pdf\\'" . default))
+ ("\\.pdf\\'" . xdg-open))
2013-08-14 13:22:52 +00:00
"External applications for opening `file:path' items in a document.
Org-mode uses system defaults for different file types, but
you can use this variable to set the application for a given file