Function: which-key--hide-buffer-side-window
which-key--hide-buffer-side-window is a byte-compiled function defined
in which-key.el.gz.
Signature
(which-key--hide-buffer-side-window)
Documentation
Hide which-key buffer when side-window popup is used.
Source Code
;; Defined in /usr/src/emacs/lisp/which-key.el.gz
(defun which-key--hide-buffer-side-window ()
"Hide which-key buffer when side-window popup is used."
(when (buffer-live-p which-key--buffer)
;; in case which-key buffer was shown in an existing window, `quit-window'
;; will re-show the previous buffer, instead of closing the window
(quit-windows-on which-key--buffer)
(when (and which-key-preserve-window-configuration
which-key--saved-window-configuration)
(set-window-configuration which-key--saved-window-configuration)
(setq which-key--saved-window-configuration nil))))