Display warning instead of a message

This commit is contained in:
James Nguyen 2018-01-07 11:04:27 -08:00 committed by James N
parent 27b12460fc
commit 11c2c73f86
1 changed files with 7 additions and 2 deletions

View File

@ -37,8 +37,13 @@
(if (featurep 'evil-integration)
(if evil-want-integration
(message "Make sure to set `evil-want-integration' to nil before loading evil or evil-collection.")
(message "`evil-want-integration' was set to nil but not before loading evil."))
(display-warning
'(evil-collection)
"Make sure to set `evil-want-integration' to nil before loading evil\
or evil-collection.")
(display-warning
'(evil-collection)
"`evil-want-integration' was set to nil but not before loading evil."))
(require 'evil-collection-integration))
(defgroup evil-collection nil