syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.67k stars 4.89k forks source link

evil-iedit-state should be lazy loaded in more modes #729

Closed cpaulik closed 9 years ago

cpaulik commented 9 years ago

In this part evil-iedit-state is only loaded in prog-modes and markdown-mode. This means that e.g. if the first file I open is an xml file then SPC s e gives an error since the function is not defined.

It might be better to load this the first time any file is opened, since it is probably not feasible to keep a list of all mode hooks where it should be loaded?

syl20bnr commented 9 years ago

Fixed with #730