]> code.delx.au - gnu-emacs-elpa/commit
Work around `overriding-terminal-local-map' being terminal-local
authorOleh Krehel <ohwoeowho@gmail.com>
Tue, 14 Apr 2015 11:34:09 +0000 (13:34 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Tue, 14 Apr 2015 11:54:40 +0000 (13:54 +0200)
commitd678cc06cc245d0fedc6242fe8ee1bed764477ac
treebe9a911377aedd559fc9f33b564474f0cee7c817
parentd6e00edd63e056e60f0ab7db96875f818beb0770
Work around `overriding-terminal-local-map' being terminal-local

* hydra.el (hydra-disable): Try to reset `overriding-terminal-local-map'
  for each frame, so that it doesn't happen that the hydra is cancelled
  in one frame, but not in the other. `hydra-curr-on-exit' is called in
  the first frame for which there's a transient map.

(hydra--clearfun): Disable when `overriding-terminal-local-map' is nil.

Fixes #105
hydra.el