|
|
|
@ -419,6 +419,9 @@ Return DEFAULT if PROP is not in H." |
|
|
|
(message ""))) |
|
|
|
(message ""))) |
|
|
|
nil) |
|
|
|
nil) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(defvar hydra-head-format "[%s]: " |
|
|
|
|
|
|
|
"The formatter for each head of a plain docstring.") |
|
|
|
|
|
|
|
|
|
|
|
(defun hydra--hint (body heads) |
|
|
|
(defun hydra--hint (body heads) |
|
|
|
"Generate a hint for the echo area. |
|
|
|
"Generate a hint for the echo area. |
|
|
|
BODY, and HEADS are parameters to `defhydra'." |
|
|
|
BODY, and HEADS are parameters to `defhydra'." |
|
|
|
@ -439,7 +442,7 @@ BODY, and HEADS are parameters to `defhydra'." |
|
|
|
(lambda (x) |
|
|
|
(lambda (x) |
|
|
|
(format |
|
|
|
(format |
|
|
|
(if (> (length (cdr x)) 0) |
|
|
|
(if (> (length (cdr x)) 0) |
|
|
|
(concat "[%s]: " (cdr x)) |
|
|
|
(concat hydra-head-format (cdr x)) |
|
|
|
"%s") |
|
|
|
"%s") |
|
|
|
(car x))) |
|
|
|
(car x))) |
|
|
|
keys |
|
|
|
keys |
|
|
|
|