mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix popup system not cleaning up buffers with ttl
Because of extra parentheses causing essential logic from running. I am a silly goose.
This commit is contained in:
@ -88,8 +88,8 @@ and enables `+popup-buffer-mode'."
|
||||
(signal 'wrong-type-argument (list 'integerp ttl)))
|
||||
((= ttl 0)
|
||||
(+popup--kill-buffer buffer 0))
|
||||
((add-hook 'kill-buffer-hook #'+popup|kill-buffer-hook nil t))
|
||||
((setq +popup--timer
|
||||
((add-hook 'kill-buffer-hook #'+popup|kill-buffer-hook nil t)
|
||||
(setq +popup--timer
|
||||
(run-at-time ttl nil #'+popup--kill-buffer
|
||||
buffer ttl))))))))))
|
||||
|
||||
|
Reference in New Issue
Block a user