]> code.delx.au - gnu-emacs/commit
* lisp/calculator.el: Re-do key bindings.
authorEli Barzilay <eli@barzilay.org>
Fri, 27 Nov 2015 15:21:30 +0000 (10:21 -0500)
committerEli Barzilay <eli@barzilay.org>
Sun, 29 Nov 2015 17:49:06 +0000 (12:49 -0500)
commit1b4570bc08b35ba98d48b3a8465948949cf5a31f
treec76712140d22a829da93453b11e35af92d1b7486
parente875e68b325f1d621a21798d4c4244790ecaf77f
* lisp/calculator.el: Re-do key bindings.

Use a helper function that arranges a parent keymap that binds alternate
case keys so if some letter key is unbound and it's un/shifted version
is, it will get used.  This makes the global-map trickery unnecessary.

Also switch to passing strings that name keys through `kbd'.
lisp/calculator.el