Function: which-key--next-page-hint

which-key--next-page-hint is a byte-compiled function defined in which-key.el.gz.

Signature

(which-key--next-page-hint PREFIX-KEYS)

Documentation

Return string for next page hint.

Source Code

;; Defined in /usr/src/emacs/lisp/which-key.el.gz
(defun which-key--next-page-hint (prefix-keys)
  "Return string for next page hint."
  (let* ((paging-key (concat prefix-keys " " which-key-paging-key))
         (paging-key-bound (eq 'which-key-C-h-dispatch
                               (key-binding (kbd paging-key))))
         (key (if (fboundp 'help-key) (help-key) ; 29.1
                (key-description (vector help-char))))
         (key (if paging-key-bound
                  (concat key " or " which-key-paging-key)
                key)))
    (when (and which-key-use-C-h-commands
               (not (equal (vector help-char)
                           (vconcat (kbd prefix-keys)))))
      (which-key--propertize (format "[%s paging/help]" key)
                             'face 'which-key-note-face))))