]> code.delx.au - gnu-emacs-elpa/commitdiff
hydra.el (hydra-keyboard-quit): Clean up the message area
authorOleh Krehel <ohwoeowho@gmail.com>
Sat, 21 Mar 2015 17:09:46 +0000 (18:09 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Sat, 21 Mar 2015 17:09:46 +0000 (18:09 +0100)
* hydra.el (hydra-keyboard-quit): Update.

Fixes #80.

hydra.el

index c5a74a235fefd7afd2407ef7aedca808859e793a..684fdad12d17641965e259b62a29ff46d9c9282e 100644 (file)
--- a/hydra.el
+++ b/hydra.el
@@ -387,6 +387,8 @@ BODY is the second argument to `defhydra'"
   (hydra-disable)
   (hydra-cleanup)
   (cancel-timer hydra-timer)
+  (unless hydra-lv
+    (message ""))
   nil)
 
 (defun hydra-disable ()