lang/common-lisp: sly-eval-region = eval handler

This allows you to use the `gr` operator to evaluate code on-the-fly.
This commit is contained in:
Henrik Lissner 2018-10-07 00:35:41 -04:00
parent e70a8d925e
commit 34d7e327b2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -13,6 +13,7 @@
("^\\*sly-traces" :vslot 6 :ttl nil)))
(set-repl-handler! 'lisp-mode #'sly-mrepl)
(set-eval-handler! 'lisp-mode #'sly-eval-region)
(set-lookup-handlers! 'lisp-mode
:definition #'sly-edit-definition
:documentation #'sly-describe-symbol)