[org] Fix org-habit (#14838)

This commit is contained in:
Arif Er 2021-06-20 01:47:42 +08:00 committed by GitHub
parent ab6b165e96
commit b0ef47a885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -160,9 +160,6 @@
(naive-auto #'spacemacs/org-summary-todo-naive-auto)
(semiauto #'spacemacs/org-summary-todo-semiauto))))
(with-eval-after-load 'org-agenda
(add-to-list 'org-modules 'org-habit))
(with-eval-after-load 'org-indent
(spacemacs|hide-lighter org-indent-mode))
@ -488,6 +485,8 @@ Will work on both org-mode and any mode that accepts plain html."
:init
(progn
(setq org-agenda-restore-windows-after-quit t)
(with-eval-after-load 'org
(add-to-list 'org-modules 'org-habit))
(dolist (prefix `(("mC" . ,(org-clocks-prefix))
("md" . "dates")
("mi" . "insert")