Minor refactoring/reformatting across the board
This commit is contained in:
parent
3930a23084
commit
0b8e7a27b6
4 changed files with 10 additions and 10 deletions
|
@ -437,6 +437,6 @@ unfold to point on startup."
|
|||
;;;###autoload
|
||||
(defun +org-enable-auto-update-cookies-h ()
|
||||
"Update statistics cookies when saving or exiting insert mode (`evil-mode')."
|
||||
(when (featurep 'evil)
|
||||
(when (bound-and-true-p evil-local-mode)
|
||||
(add-hook 'evil-insert-state-exit-hook #'+org-update-cookies-h nil t))
|
||||
(add-hook 'before-save-hook #'+org-update-cookies-h nil t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue