Add Racket lang

This commit is contained in:
Marcelo dos Santos 2018-07-29 10:50:17 -03:00
parent 637131a264
commit d8cd4bdf03
4 changed files with 134 additions and 0 deletions

View 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)))))