Function: hydra--body-exit

hydra--body-exit is a byte-compiled function defined in hydra.el.

Signature

(hydra--body-exit BODY)

Documentation

Return the exit behavior of BODY.

Source Code

;; Defined in ~/.emacs.d/elpa/hydra-20250316.1254/hydra.el
(defun hydra--body-exit (body)
  "Return the exit behavior of BODY."
  (or
   (plist-get (cddr body) :exit)
   (let ((color (plist-get (cddr body) :color)))
     (cl-case color
       ((blue teal) t)
       (t nil)))))