Function: hydra-fontify-head-greyscale

hydra-fontify-head-greyscale is a byte-compiled function defined in hydra.el.

Signature

(hydra-fontify-head-greyscale HEAD BODY)

Documentation

Produce a pretty string from HEAD and BODY.

HEAD's binding is returned as a string wrapped with [] or {}.

Source Code

;; Defined in ~/.emacs.d/elpa/hydra-20250316.1254/hydra.el
(defun hydra-fontify-head-greyscale (head _body)
  "Produce a pretty string from HEAD and BODY.
HEAD's binding is returned as a string wrapped with [] or {}."
  (format
   (if (hydra--head-property head :exit)
       "[%s]"
     "{%s}") (car head)))