From f54c36e72130b5688f6de9d0192dfcf991e566ab Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 10 Sep 2018 12:50:45 -0400 Subject: [PATCH] lang/common-lisp: revise sly popup rules Fixes issues with the compilation, inspector, debug or trace buffers replacing the repl popup. --- modules/lang/common-lisp/config.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/lang/common-lisp/config.el b/modules/lang/common-lisp/config.el index 0db5ccc10..ebe3f3cb3 100644 --- a/modules/lang/common-lisp/config.el +++ b/modules/lang/common-lisp/config.el @@ -3,7 +3,13 @@ (after! sly (setq inferior-lisp-program "sbcl") - (set-popup-rule! "^\\*sly" :quit nil :ttl nil) + (set-popup-rules! + '(("^\\*sly-mrepl" :vslot 2 :quit nil :ttl nil) + ("^\\*sly-db" :vslot 3 :quit nil :ttl nil) + ("^\\*sly-compilation" :vslot 4 :ttl nil) + ("^\\*sly-inspector" :vslot 5 :ttl nil) + ("^\\*sly-traces" :vslot 6 :ttl nil))) + (set-repl-handler! 'lisp-mode #'sly-mrepl) (set-lookup-handlers! 'lisp-mode :definition #'sly-edit-definition