Function: which-key--full-prefix
which-key--full-prefix is a byte-compiled function defined in
which-key.el.gz.
Signature
(which-key--full-prefix PREFIX-KEYS &optional -PREFIX-ARG DONT-PROP-KEYS)
Documentation
Return a description of the full key sequence up to now.
Include prefix arguments.
Source Code
;; Defined in /usr/src/emacs/lisp/which-key.el.gz
(defun which-key--full-prefix (prefix-keys &optional -prefix-arg dont-prop-keys)
"Return a description of the full key sequence up to now.
Include prefix arguments."
(let* ((left (eq which-key-show-prefix 'left))
(prefix-arg (if -prefix-arg -prefix-arg prefix-arg))
(str (concat
(universal-argument--description)
(when prefix-arg " ")
prefix-keys))
(dash (if (and (not (string= prefix-keys ""))
(null left)) "-" "")))
(if (or (eq which-key-show-prefix 'echo) dont-prop-keys)
(concat str dash)
(concat (which-key--propertize-key str)
(which-key--propertize dash 'face 'which-key-key-face)))))