General, minor refactor & revision

Across the board. All the boards.
This commit is contained in:
Henrik Lissner 2018-06-16 12:26:58 +02:00
parent 02caf4eeac
commit 44363cae40
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
8 changed files with 12 additions and 14 deletions

View file

@ -78,7 +78,9 @@
(setq org-attach-directory (expand-file-name +org-attach-dir org-directory))
;; A shorter link to attachments
(push (cons "attach" (abbreviate-file-name org-attach-directory)) org-link-abbrev-alist)
(push (cons "attach" (abbreviate-file-name org-attach-directory))
org-link-abbrev-alist)
(org-link-set-parameters
"attach"
:follow (lambda (link) (find-file (expand-file-name link org-attach-directory)))