* hydra.el (hydra--work-around-dedicated): New defvar.
(hydra-keyboard-quit): Update.
Fixes #124
Fixes #119
(defvar hydra-message-timer (timer-create)
"Timer for the hint.")
+(defvar hydra--work-around-dedicated t
+ "When non-nil, assume there's no bug in `pop-to-buffer'
+ selecting a dedicated window.")
+
(defun hydra-keyboard-quit ()
"Quitting function similar to `keyboard-quit'."
(interactive)
(hydra-disable)
(cancel-timer hydra-timeout-timer)
(cancel-timer hydra-message-timer)
- (unless hydra--ignore
+ (unless (and hydra--ignore
+ (null hydra--work-around-dedicated))
(if hydra-lv
(lv-delete-window)
(message "")))