mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Use bound-and-true-p instead of (and (boundp ...))
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user