branch: master
commit ae70e9a364c7e371de31b599f21f2adeca40ff06
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    Fix pink and teal Hydras running :post
    
    * hydra.el (hydra--make-defun): Update.
---
 hydra.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hydra.el b/hydra.el
index 6e8ae00..fe54892 100644
--- a/hydra.el
+++ b/hydra.el
@@ -445,7 +445,7 @@ BODY-COLOR, BODY-PRE, BODY-POST, and OTHER-POST are used as 
well."
                           (hydra-set-transient-map
                            (setq hydra-curr-map ',keymap)
                            t
-                           ,(if (and (not (eq body-color 'amaranth)) body-post)
+                           ,(if (and (not (memq body-color '(amaranth pink 
teal))) body-post)
                                 `(lambda () (hydra-cleanup) ,body-post)
                                 `(lambda () (hydra-cleanup)))))
                     ,other-post))))))

Reply via email to