mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/org: set org-clock variables sooner
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user