fix(emacs): remove auto-save for org buffers during function calls
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
b9fd072726
commit
9053b19dfd
1 changed files with 0 additions and 8 deletions
|
@ -45,14 +45,6 @@
|
||||||
`(lambda (&rest _rest)
|
`(lambda (&rest _rest)
|
||||||
(funcall ,fnc)))
|
(funcall ,fnc)))
|
||||||
|
|
||||||
;; Auto-save org buffers
|
|
||||||
(advice-add 'org-deadline :after (η #'org-save-all-org-buffers))
|
|
||||||
(advice-add 'org-schedule :after (η #'org-save-all-org-buffers))
|
|
||||||
(advice-add 'org-store-log-note :after (η #'org-save-all-org-buffers))
|
|
||||||
(advice-add 'org-todo :after (η #'org-save-all-org-buffers))
|
|
||||||
(advice-add 'org-refile :after (η #'org-save-all-org-buffers))
|
|
||||||
(advice-add 'org-sort :after (η #'org-save-all-org-buffers))
|
|
||||||
|
|
||||||
;; Org hooks
|
;; Org hooks
|
||||||
(add-hook 'org-mode-hook
|
(add-hook 'org-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue