mu4e: fix `q' binding in About buffer #154

Merged
merged 1 commit into from Mar 12, 2013

Projects

None yet

2 participants

Contributor

mu4e's About buffer uses org-mode and used to locally bind q' to bury the buffer. However, altering local key map via local-set-key shares binding with all buffers using the same major mode. As a result, after executing About mu4e once, pressingq' in any regular org-mode
buffer was also burying it instead of inserting the letter `q'.

This commit fixes the problem by creating a new mu4e-about-mode
derived from org-mode and by defining `q' only for that mode.

@tiborsimko tiborsimko mu4e: fix `q' binding in About buffer
mu4e's About buffer uses org-mode and used to locally bind `q' to bury
the buffer.  However, altering local key map via local-set-key
shares binding with all buffers using the same major mode.  As a result,
after executing About mu4e once, pressing `q' in any regular org-mode
buffer was also burying it instead of inserting the letter `q'.

This commit fixes the problem by creating a new mu4e-about-mode
derived from org-mode and by defining `q' only for that mode.
eb606f9
@djcb djcb merged commit bb89278 into djcb:master Mar 12, 2013
Owner
djcb commented Mar 12, 2013

Oh, that's a bad bug! Merged your patch, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment