mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-26 01:40:53 -08:00
Comment out window var and add new func
The window var is not being used.
This commit is contained in:
parent
094136858f
commit
6ddebba30c
1 changed files with 5 additions and 2 deletions
|
|
@ -422,8 +422,8 @@ to a non-nil value for the execution of a command. Like this
|
|||
;; Internal Vars
|
||||
(defvar which-key--buffer nil
|
||||
"Internal: Holds reference to which-key buffer.")
|
||||
(defvar which-key--window nil
|
||||
"Internal: Holds reference to which-key window.")
|
||||
;; (defvar which-key--window nil
|
||||
;; "Internal: Holds reference to which-key window.")
|
||||
(defvar which-key--timer nil
|
||||
"Internal: Holds reference to open window timer.")
|
||||
(defvar which-key--paging-timer nil
|
||||
|
|
@ -875,6 +875,9 @@ total height."
|
|||
(when (frame-live-p which-key--frame)
|
||||
(delete-frame which-key--frame)))
|
||||
|
||||
(defun which-key--popup-showing-p ()
|
||||
(window-live-p (get-buffer-window which-key--buffer)))
|
||||
|
||||
(defun which-key--show-popup (act-popup-dim)
|
||||
"Show the which-key buffer.
|
||||
ACT-POPUP-DIM includes the dimensions, (height . width) of the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue