From 91894c16a1064c3a0ea780b85134c0e30af2b946 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sun, 5 Nov 2023 21:13:47 +1100 Subject: [emacs] Some further fixes to my-org-task. - Read categories from local - Add more documentation - Change my-org-task-relations to defcustom --- emacs/.emacs.d/init/ycp-org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d/init') diff --git a/emacs/.emacs.d/init/ycp-org.el b/emacs/.emacs.d/init/ycp-org.el index 815216c..378e0c3 100644 --- a/emacs/.emacs.d/init/ycp-org.el +++ b/emacs/.emacs.d/init/ycp-org.el @@ -489,7 +489,8 @@ :around 'my-org-capture-place-template-dont-delete-windows)) (advice-add 'org-insert-structure-template :after 'my-org-edit-special) (advice-add 'org-edit-src-exit :before 'my-org-edit-src-before-exit) - (advice-add 'org-edit-src-exit :after 'my-org-edit-src-after-exit)) + (advice-add 'org-edit-src-exit :after 'my-org-edit-src-after-exit) + (my-setq-from-local my-org-task-categories)) (my-package my-org (:delay 30) -- cgit v1.2.3