mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix hiding tips from pre-command-hook
* lisp/tty-tip.el (tty-tip-mode): Put #'tty-tip--hide on the pre-command-hook.
This commit is contained in:
parent
cc3c05cad9
commit
6cd7ce7cf2
1 changed files with 2 additions and 2 deletions
|
|
@ -192,10 +192,10 @@
|
|||
(unless (display-graphic-p)
|
||||
(cond (tty-tip-mode
|
||||
(setq show-help-function #'tty-tip--show-help)
|
||||
(add-hook 'pre-command-hook #'tty-tip--delete-frame))
|
||||
(add-hook 'pre-command-hook #'tty-tip--hide))
|
||||
(t
|
||||
(setq show-help-function nil)
|
||||
(remove-hook 'pre-command-hook #'tty-tip--delete-frame)))))
|
||||
(remove-hook 'pre-command-hook #'tty-tip--hide)))))
|
||||
|
||||
(provide 'tty-tip)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue