From 11c2c73f8656e35685970359a959d79571e3b1d6 Mon Sep 17 00:00:00 2001 From: James Nguyen Date: Sun, 7 Jan 2018 11:04:27 -0800 Subject: [PATCH] Display warning instead of a message --- evil-collection.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/evil-collection.el b/evil-collection.el index 8b6526b..af4c7e3 100644 --- a/evil-collection.el +++ b/evil-collection.el @@ -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