Fix: Require org-habit
It would be optimal to avoid requiring it, but not worth the trouble.
This commit is contained in:
parent
974acb0f43
commit
9deec36458
1 changed files with 2 additions and 3 deletions
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
(require 'cl-lib)
|
(require 'cl-lib)
|
||||||
(require 'org)
|
(require 'org)
|
||||||
|
(require 'org-habit)
|
||||||
(require 'seq)
|
(require 'seq)
|
||||||
|
|
||||||
(require 'dash)
|
(require 'dash)
|
||||||
|
|
@ -252,9 +253,7 @@ Or, when possible, fix the problem."
|
||||||
(cl-case symbol
|
(cl-case symbol
|
||||||
('done (unless org-done-keywords
|
('done (unless org-done-keywords
|
||||||
;; NOTE: This check needs to be done from within the Org buffer being checked.
|
;; NOTE: This check needs to be done from within the Org buffer being checked.
|
||||||
(error "Variable `org-done-keywords' is nil. Are you running this from an Org buffer?")))
|
(error "Variable `org-done-keywords' is nil. Are you running this from an Org buffer?"))))))
|
||||||
('habit (unless (featurep 'org-habit)
|
|
||||||
(require 'org-habit))))))
|
|
||||||
(cl-loop for elem in form
|
(cl-loop for elem in form
|
||||||
if (consp elem)
|
if (consp elem)
|
||||||
do (progn
|
do (progn
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue