mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Add Racket lang
This commit is contained in:
12
modules/lang/racket/autoload.el
Normal file
12
modules/lang/racket/autoload.el
Normal file
@ -0,0 +1,12 @@
|
||||
;;; lang/racket/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +racket/repl ()
|
||||
"Open the Racket REPL."
|
||||
(interactive)
|
||||
(pop-to-buffer
|
||||
(or (get-buffer "*Racket REPL*")
|
||||
(progn (racket-run-and-switch-to-repl)
|
||||
(let ((buf (get-buffer "*Racket REPL*")))
|
||||
(bury-buffer buf)
|
||||
buf)))))
|
Reference in New Issue
Block a user