fix(emacs): add hook for racket-mode configuration
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
61eeb100f6
commit
75736b4685
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@
|
||||||
"Configure keybinds for racket buffers."
|
"Configure keybinds for racket buffers."
|
||||||
(keymap-local-set "C-c C-z" #'racket-repl-switch))
|
(keymap-local-set "C-c C-z" #'racket-repl-switch))
|
||||||
|
|
||||||
|
(add-hook 'racket-mode-hook #'configure-racket)
|
||||||
|
|
||||||
(defun configure-racket-repl ()
|
(defun configure-racket-repl ()
|
||||||
"Configure keybinds for the racket repl."
|
"Configure keybinds for the racket repl."
|
||||||
(keymap-local-set "C-c C-k" #'racket-repl-clear-leaving-last-prompt)
|
(keymap-local-set "C-c C-k" #'racket-repl-clear-leaving-last-prompt)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue