mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/org: remove redundant attach: link abbreviation
This commit is contained in:
@ -272,9 +272,6 @@ Some commands of interest:
|
|||||||
+ `+org-attach/sync'"
|
+ `+org-attach/sync'"
|
||||||
(setq org-attach-directory (expand-file-name org-attach-directory org-directory))
|
(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
|
(org-link-set-parameters
|
||||||
"attach"
|
"attach"
|
||||||
:follow (lambda (link) (find-file (expand-file-name link org-attach-directory)))
|
:follow (lambda (link) (find-file (expand-file-name link org-attach-directory)))
|
||||||
|
Reference in New Issue
Block a user