mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Standardize naming of repl handler commands
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
;;; lang/scheme/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +scheme/repl (&optional arg)
|
||||
(defun +scheme/open-repl (&optional arg)
|
||||
"Open the Scheme REPL."
|
||||
(interactive "P")
|
||||
(switch-to-geiser arg)
|
||||
|
@ -11,7 +11,7 @@
|
||||
(unless (featurep! :lang racket)
|
||||
(push 'racket geiser-active-implementations))
|
||||
(after! scheme ; built-in
|
||||
(set-repl-handler! 'scheme-mode '+scheme/repl)
|
||||
(set-repl-handler! 'scheme-mode '+scheme/open-repl)
|
||||
(set-eval-handler! 'scheme-mode #'geiser-eval-region)
|
||||
(set-lookup-handlers! 'scheme-mode
|
||||
:definition #'geiser-edit-symbol-at-point
|
||||
|
Reference in New Issue
Block a user