mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
@ -3,7 +3,8 @@
|
||||
(defun +popup--cancel-buffer-timer ()
|
||||
"Cancel the current buffer's transient timer."
|
||||
(when (timerp +popup--timer)
|
||||
(message "Cancelled timer")
|
||||
(let ((inhibit-message (not doom-debug-mode)))
|
||||
(message "Cancelled timer in %s" (current-buffer)))
|
||||
(cancel-timer +popup--timer)
|
||||
(setq +popup--timer nil))
|
||||
t)
|
||||
|
Reference in New Issue
Block a user