lang/org: restore attach entry in org-link-abbrev-alist
This commit is contained in:
parent
2caaec50e8
commit
c0530202a5
1 changed files with 3 additions and 0 deletions
|
@ -272,6 +272,9 @@ Some commands of interest:
|
|||
+ `+org-attach/sync'"
|
||||
(setq org-attach-directory (expand-file-name org-attach-directory org-directory))
|
||||
|
||||
;; A shorter link to attachments
|
||||
(add-to-list 'org-link-abbrev-alist (cons "attach" (abbreviate-file-name org-attach-directory)))
|
||||
|
||||
(org-link-set-parameters
|
||||
"attach"
|
||||
:follow (lambda (link) (find-file (expand-file-name link org-attach-directory)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue