Add messaging related to evil-want-keybinding
This commit is contained in:
parent
733f8d0d28
commit
2585c1c2eb
|
@ -38,16 +38,30 @@
|
||||||
(require 'evil)
|
(require 'evil)
|
||||||
|
|
||||||
(defvar evil-want-integration)
|
(defvar evil-want-integration)
|
||||||
(if (featurep 'evil-integration)
|
(defvar evil-want-keybinding)
|
||||||
(if evil-want-integration
|
(if (featurep 'evil-want-keybinding)
|
||||||
|
(if evil-want-keybinding
|
||||||
(display-warning
|
(display-warning
|
||||||
'(evil-collection)
|
'(evil-collection)
|
||||||
"Make sure to set `evil-want-integration' to nil before loading evil \
|
"Make sure to set `evil-want-keybinding' to nil before loading evil \
|
||||||
or evil-collection.")
|
or evil-collection.\
|
||||||
|
\n
|
||||||
|
See https://github.com/emacs-evil/evil-collection/issues/60 for more details. ")
|
||||||
(display-warning
|
(display-warning
|
||||||
'(evil-collection)
|
'(evil-collection)
|
||||||
"`evil-want-integration' was set to nil but not before loading evil."))
|
"`evil-want-keybinding' was set to nil but not before loading evil.\
|
||||||
(require 'evil-collection-integration))
|
\n
|
||||||
|
Make sure to set `evil-want-keybinding' to nil before loading evil \
|
||||||
|
or evil-collection.\
|
||||||
|
\n
|
||||||
|
See https://github.com/emacs-evil/evil-collection/issues/60 for more details.")))
|
||||||
|
|
||||||
|
(unless (featurep 'evil-integration)
|
||||||
|
(message "Requiring evil-integration. Set evil-want-integration to t to\
|
||||||
|
remove this message.\
|
||||||
|
\n
|
||||||
|
See https://github.com/emacs-evil/evil-collection/issues/60 for more details.")
|
||||||
|
(require 'evil-integration))
|
||||||
|
|
||||||
(declare-function org-table-align "org-table.el" nil)
|
(declare-function org-table-align "org-table.el" nil)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue