posframe 怎样在输入任意键后隐藏posframe不用timeout选项 @tumashu
似乎没有这种选项,我之前也想这样弄来着,然后从popup.el里抄了些东西过来
(defun foo ()
(interactive)
(posframe-show
...)
(clear-this-command-keys)
(push (read-event) unread-command-events)
(posframe-delete "bar"))
1 个赞
thankyou
post-command-hook 用这个hook估计有戏