update packages

This commit is contained in:
2022-01-04 21:35:17 +01:00
parent 1d5275c946
commit 8de00e5202
700 changed files with 42441 additions and 85378 deletions

View File

@@ -352,6 +352,7 @@ Exitable only through a blue head.")
;;* Universal Argument
(defvar hydra-base-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "<f1> k") 'hydra--describe-key)
(define-key map [?\C-u] 'hydra--universal-argument)
(define-key map [?-] 'hydra--negative-argument)
(define-key map [?0] 'hydra--digit-argument)
@@ -413,6 +414,15 @@ Exitable only through a blue head.")
((eq arg '-) nil)
(t '-))))
(defun hydra--describe-key ()
"Forward to `describe-key'.
Call order: the hydra body, `hydra--describe-key', the head."
(interactive)
(lv-delete-window)
(let ((hydra-hint-display-type 'message))
(call-interactively 'describe-key)
(hydra-keyboard-quit)))
;;* Repeat
(defvar hydra-repeat--prefix-arg nil
"Prefix arg to use with `hydra-repeat'.")
@@ -838,7 +848,9 @@ HEADS is a list of heads."
"The heads for the associated hydra are:\n\n%s\n\n%s%s."
(mapconcat
(lambda (x)
(format "\"%s\": `%S'" (car x) (cadr x)))
(format "\"%s\": %s"
(car x)
(if (cadr x) (format "`%S'" (cadr x)) "nil")))
heads ",\n")
(format "The body can be accessed via `%S'" body-name)
(if body-key