Add Racket lang
This commit is contained in:
parent
637131a264
commit
d8cd4bdf03
4 changed files with 134 additions and 0 deletions
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)))))
|
Loading…
Add table
Add a link
Reference in a new issue