summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSomelauw <Somelauw>2017-07-16 17:24:01 +0200
committerSomelauw <Somelauw>2017-07-16 17:24:01 +0200
commite9620d06d47a6d949a612002b0877a9c52bf2032 (patch)
tree65a436fe87b5f683b006007f442c10f3ae600408
parent953111c8d25f5aca87e173849231d5a60faf7085 (diff)
Correct check for evil-disable-insert-state-bindings
-rw-r--r--evil-org.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/evil-org.el b/evil-org.el
index 9bd1983..4dc76d5 100644
--- a/evil-org.el
+++ b/evil-org.el
@@ -66,10 +66,9 @@
:group 'evil-org)
(defcustom evil-org-key-theme
- (if (and (boundp 'evil-disable-insert-state-bindings)
- (evil-disable-insert-state-bindings))
+ (if (bound-and-true-p evil-disable-insert-state-bindings)
'(textobjects navigation additional)
- '(textobjects navigation insert additional))
+ '(textobjects navigation insert additional))
"Which key themes to enable.
If you use this variable, you should call `evil-org-set-key-theme' with zero
arguments."