From 3e11008a7f0be9099616fbd7c672d69d6b8af48b Mon Sep 17 00:00:00 2001 From: Akhil Wali Date: Sat, 5 Oct 2019 09:05:05 +1300 Subject: [PATCH] Use bound-and-true-p instead of (and (boundp ...)) --- modules/editor/god/autoload/god.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/editor/god/autoload/god.el b/modules/editor/god/autoload/god.el index e5451bd37..c7a3d63b4 100644 --- a/modules/editor/god/autoload/god.el +++ b/modules/editor/god/autoload/god.el @@ -48,8 +48,7 @@ initialization.") (previous-cursor-color (face-background 'cursor)) (previous-modeline-color (and (facep 'doom-modeline-bar) (face-background 'doom-modeline-bar))) - (is-god-mode (and (boundp 'god-local-mode) - god-local-mode)) + (is-god-mode (bound-and-true-p god-local-mode)) (next-cursor-type (cond (buffer-read-only 'box) ((and overwrite-mode is-god-mode) 'hollow)