Display warning instead of a message
This commit is contained in:
parent
27b12460fc
commit
11c2c73f86
|
@ -37,8 +37,13 @@
|
||||||
|
|
||||||
(if (featurep 'evil-integration)
|
(if (featurep 'evil-integration)
|
||||||
(if evil-want-integration
|
(if evil-want-integration
|
||||||
(message "Make sure to set `evil-want-integration' to nil before loading evil or evil-collection.")
|
(display-warning
|
||||||
(message "`evil-want-integration' was set to nil but not before loading evil."))
|
'(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))
|
(require 'evil-collection-integration))
|
||||||
|
|
||||||
(defgroup evil-collection nil
|
(defgroup evil-collection nil
|
||||||
|
|
Loading…
Reference in New Issue