setq -> set

This commit is contained in:
Eivind Fonn 2016-04-12 17:11:31 +02:00 committed by syl20bnr
parent 16ec5b9289
commit dd6e1aea99
1 changed files with 3 additions and 3 deletions

View File

@ -65,9 +65,9 @@
:inherit 'mode-line)))
(format "%s state face." state)
:group 'spacemacs))
(eval `(setq ,(intern (format "evil-%s-state-cursor" state))
(list (when dotspacemacs-colorize-cursor-according-to-state color)
cursor))))
(set (intern (format "evil-%s-state-cursor" state))
(list (when dotspacemacs-colorize-cursor-according-to-state color)
cursor)))
;; put back refresh of the cursor on post-command-hook see status of:
;; https://bitbucket.org/lyro/evil/issue/502/cursor-is-not-refreshed-in-some-cases