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:
parent
866c97bcb2
commit
cddde09b79
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ and enables `+popup-buffer-mode'."
|
||||||
(signal 'wrong-type-argument (list 'integerp ttl)))
|
(signal 'wrong-type-argument (list 'integerp ttl)))
|
||||||
((= ttl 0)
|
((= ttl 0)
|
||||||
(+popup--kill-buffer buffer 0))
|
(+popup--kill-buffer buffer 0))
|
||||||
((add-hook 'kill-buffer-hook #'+popup|kill-buffer-hook nil t))
|
((add-hook 'kill-buffer-hook #'+popup|kill-buffer-hook nil t)
|
||||||
((setq +popup--timer
|
(setq +popup--timer
|
||||||
(run-at-time ttl nil #'+popup--kill-buffer
|
(run-at-time ttl nil #'+popup--kill-buffer
|
||||||
buffer ttl))))))))))
|
buffer ttl))))))))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue