You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[compleseus] Fix dynamic changing of editing styles
The function `spacemacs//set-initial-grep-state` is only called by the
`spacemacs-editing-style-hook` but always throws an error because the hook is
ran with an argument (the editing style switched to), but the function does not
expect any arguments.
At first it seems like one should just add the missing argument, however, it is
in fact not necessary to execute this function at all: `grep-mode` is derived
from `compilation-mode` which is an element of `evil-motion-state-modes`.
Moreover, when using (or temporarily toggling) the emacs editing style,
`evil-motion-state` is overridden with `evil-emacs-state` by the advice
`holy-motion-to-emacs-state`.
This commit also fixes a typo in spacemacs-bootstrap/packages.el.
0 commit comments