mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-12 15:36:53 -05:00
lang/org: cleanup & refactor
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
;; images specially.
|
||||
;;
|
||||
;; To clean up unreferenced attachments, call `doom/org-cleanup-attachments'
|
||||
(add-hook '+org-init-hook '+org|init-attach t)
|
||||
(add-hook '+org-init-hook #'+org|init-attach t)
|
||||
|
||||
(defun +org|init-attach ()
|
||||
(setq org-attach-directory +org-attachment-dir)
|
||||
|
Reference in New Issue
Block a user