hlissner/evil-snipe

evil-snipe-disabled-modes seems not working by default

Closed this issue · 1 comments

(require 'evil-snipe)
*** Eval error ***  Symbol’s function definition is void: org-agenda-mode

If I load org-agenda and the function org-agenda-mode can be run, it will put an other error for magit-mode which I have required when emacs init.

The whole log in ielm.

*** Welcome to IELM ***  Type (describe-mode) for help.
ELISP> (require 'evil-snipe)
*** Eval error ***  Symbol’s function definition is void: org-agenda-mode
ELISP> (require 'org-agenda)
org-agenda
ELISP> (fboundp 'org-agenda-mode)
t
ELISP> (require 'evil-snipe)
*** Eval error ***  Symbol’s value as variable is void: magit-mode
ELISP> (fboundp 'magit-mode)
t

Ack, sorry. A typo snuck into a recent commit. This is now fixed! Feel free to reopen this if that isn't the case.