Function: which-key--hide-popup

which-key--hide-popup is a byte-compiled function defined in which-key.el.gz.

Signature

(which-key--hide-popup)

Documentation

Hide the which-key buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/which-key.el.gz
;;; Show/hide which-key buffer

(defun which-key--hide-popup ()
  "Hide the which-key buffer."
  (unless (or which-key-persistent-popup
              (member real-this-command which-key--paging-functions))
    (setq which-key--last-try-2-loc nil)
    (setq which-key--pages-obj nil)
    (setq which-key--automatic-display nil)
    (setq which-key--prior-show-keymap-args nil)
    (when (and which-key-idle-secondary-delay which-key--secondary-timer-active)
      (which-key--start-timer))
    (which-key--lighter-restore)
    (which-key--hide-popup-ignore-command)))