refactor: Rename to doom-popup
This commit is contained in:
@@ -155,14 +155,15 @@ prefix argument is given, in which case the user will be prompted for a repl."
|
||||
|
||||
(set-popup-rule!
|
||||
(lambda (bufname _)
|
||||
(when (boundp '+eval-repl-mode)
|
||||
(buffer-local-value '+eval-repl-mode (get-buffer bufname))))
|
||||
(when (boundp 'syd-repl-mode)
|
||||
(buffer-local-value 'syd-repl-mode (get-buffer bufname))))
|
||||
:ttl (lambda (buf)
|
||||
(unless (plist-get +eval-repl-plist :persist)
|
||||
(when-let (process (get-buffer-process buf))
|
||||
(set-process-query-on-exit-flag process nil)
|
||||
(kill-process process)
|
||||
(kill-buffer buf))))
|
||||
:size 0.25 :quit nil)
|
||||
:size 0.25
|
||||
:quit nil)
|
||||
|
||||
(provide 'syd-handle-repl)
|
||||
|
||||
Reference in New Issue
Block a user