Cannot get initial state to evil in BSelect mode

Alan Schmitt alan.schmitt at polytechnique.org
Thu Feb 23 14:19:34 CET 2012


On 23 févr. 2012, at 12:20, Michael Markert wrote:

> Well it seems to be the wrong name (`reftex-select-bib-mode' being the
> right one):
> 
> ,----
> | (define-derived-mode reftex-select-bib-mode fundamental-mode "BSelect"
> |   "Major mode for selecting a citation key in a LaTeX document.
> |   ...
> `----
> 
> Try
> 
>    (evil-set-initial-state 'reftex-select-bib-mode 'emacs)

It works great, thanks. How could I have found this? Is there a way to see what the actual current major mode is?

Thanks,

Alan


More information about the implementations-list mailing list