Track org attached files
This commit is contained in:
parent
59e1329644
commit
2114a9037f
1 changed files with 7 additions and 1 deletions
|
@ -720,7 +720,13 @@ This is meant to be an helper to be called from the window manager."
|
||||||
(set-face-attribute face nil :inherit 'fixed-pitch))
|
(set-face-attribute face nil :inherit 'fixed-pitch))
|
||||||
|
|
||||||
(org-babel-do-load-languages
|
(org-babel-do-load-languages
|
||||||
'org-babel-load-languages '((haskell . t))))
|
'org-babel-load-languages '((haskell . t)))
|
||||||
|
|
||||||
|
(defun ccr/org-attach-save-file-list-to-property (dir)
|
||||||
|
"Save list of attachments to ORG_ATTACH_FILES property."
|
||||||
|
(when-let* ((files (org-attach-file-list dir)))
|
||||||
|
(org-set-property "ORG_ATTACH_FILES" (mapconcat #'identity files ", "))))
|
||||||
|
(add-hook 'org-attach-after-change-hook #'ccr/org-attach-save-file-list-to-property))
|
||||||
|
|
||||||
(use-package org-agenda
|
(use-package org-agenda
|
||||||
:custom
|
:custom
|
||||||
|
|
Loading…
Add table
Reference in a new issue