Fix handler calls to reference lisp-mode.
`set-repl-handler!` helps with opening a repl when a particular mode is active in a buffer. We want to be able to open a `sly-mrepl` whenever we are in a lisp buffer, so we should have the repl handler look for `'lisp-mode` to define opening a sly repl. I assume the lookup handlers should be making sure we are in a lisp buffer (similar reasoning to the repl-handler).
This commit is contained in:
parent
2f63c5fa47
commit
ff6e4437a2
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@
|
|||
(setq inferior-lisp-program "sbcl")
|
||||
|
||||
(set-popup-rule! "^\\*sly" :quit nil :ttl nil)
|
||||
(set-repl-handler! 'sly-mode #'sly-mrepl)
|
||||
(set-lookup-handlers! 'sly-mode
|
||||
(set-repl-handler! 'lisp-mode #'sly-mrepl)
|
||||
(set-lookup-handlers! 'lisp-mode
|
||||
:definition #'sly-edit-definition
|
||||
:documentation #'sly-describe-symbol)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue