mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-22 02:10:43 +00:00
413264882c
This patch introduces two new functions in org-attach.el, `org-attach-expand', and `org-attach-expand-link'. Both take a file name as an argument, assume that this file is an attachment of the current entry, and return the full path to this file or a "file:..." link to it, respectively. With these functions, it becomes very easy to use link abbreviations to create a new link type to attachments: After (setq org-link-abbrev-alist '(("att" . org-attach-expand-link))) links like [[att:file.txt]] will work. |
||
---|---|---|
.. | ||
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 |