lang/org: set org-clock variables sooner
This commit is contained in:
parent
fd87a0bd9e
commit
5472cd4a37
1 changed files with 3 additions and 2 deletions
|
@ -346,10 +346,11 @@ between the two."
|
||||||
(def-package! org-clock
|
(def-package! org-clock
|
||||||
:commands org-clock-save
|
:commands org-clock-save
|
||||||
:hook (org-mode . org-clock-load)
|
:hook (org-mode . org-clock-load)
|
||||||
:config
|
:init
|
||||||
(setq org-clock-persist 'history
|
(setq org-clock-persist 'history
|
||||||
org-clock-persist-file (concat doom-etc-dir "org-clock-save.el"))
|
org-clock-persist-file (concat doom-etc-dir "org-clock-save.el"))
|
||||||
(add-hook 'kill-emacs-hook 'org-clock-save))
|
:config
|
||||||
|
(add-hook 'kill-emacs-hook #'org-clock-save))
|
||||||
|
|
||||||
;;
|
;;
|
||||||
(when (featurep 'org)
|
(when (featurep 'org)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue