mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
tools/eval: add REPL support for +eval/buffer
This commit is contained in:
@@ -6,10 +6,7 @@
|
||||
"Evaluate selection or sends it to the open REPL, if available."
|
||||
:move-point nil
|
||||
(interactive "<r>")
|
||||
(if (and (fboundp '+eval--ensure-in-repl-buffer)
|
||||
(+eval--ensure-in-repl-buffer))
|
||||
(+eval/send-region-to-repl beg end)
|
||||
(+eval/region beg end)))
|
||||
(+eval/region beg end))
|
||||
|
||||
;;;###autoload (autoload '+eval:replace-region "tools/eval/autoload/evil" nil t)
|
||||
(evil-define-operator +eval:replace-region (beg end)
|
||||
|
Reference in New Issue
Block a user