Closed codesuki closed 7 years ago
My emacs indents the else branch of (if...
so there are some lines changed. If you dislike that I can change it by hand. I think it's easier to understand. Did you set something specific to disable that? I guess you are using emacs too ;)
Yes, the indentations are a bit odd. I didn't say anything about them to my Emacs, but it could be something I added.
One question: do we need to restore the previous bindings when we use a mode-map?
If the user disables the mode the mode map will be restored automatically.
Great! Just fix that odd indentation issue and we're good to merge.
Sorry I totally forgot to push here :(
NP. Thanks for the patch.
The keymap is now attached to the minor mode. I checked with
describe-key
that the keymap is not used if the minor mode is not used.