forked from mirrors/org-mode
Org-mode uses a special setup with a number of different customization variables to specify how a file should be opened when following a :file:..." link with `C-c C-o'. By using a `C-u' prefix, it was possible to overrule the customized setup and to force opening the file in Emacs. Samuel Wales requested to amend this process, so that a double prefix argument would do the opposite: force opening the application *outside* of Emacs, using a system default application. This is what this patch implements. Internally this works through a new entry in system specific constants `org-file-apps-defaults-gnu', org-file-apps-defaults-macosx', and `org-file-apps-defaults-windowsnt'. The new entry has the car `system' and specifies the command that should be used for the double C-u calls. As before, the user option `org-file-apps' can overrule these default settings. Note that all this only applies to following "file:" links, and does not make a difference for, for example, "http:" links. |
||
---|---|---|
.. | ||
ChangeLog | ||
ChangeLog.01 | ||
org-agenda.el | ||
org-archive.el | ||
org-attach.el | ||
org-bbdb.el | ||
org-bibtex.el | ||
org-clock.el | ||
org-colview-xemacs.el | ||
org-colview.el | ||
org-compat.el | ||
org-exp.el | ||
org-export-latex.el | ||
org-faces.el | ||
org-gnus.el | ||
org-id.el | ||
org-info.el | ||
org-irc.el | ||
org-jsinfo.el | ||
org-list.el | ||
org-mac-message.el | ||
org-macs.el | ||
org-mew.el | ||
org-mhe.el | ||
org-mouse.el | ||
org-plot.el | ||
org-publish.el | ||
org-remember.el | ||
org-rmail.el | ||
org-table.el | ||
org-vm.el | ||
org-wl.el | ||
org.el |