mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-23 11:30:23 +10:00
Moving to Doom Emacs!
This commit is contained in:
12
.emacs.d/modules/lang/racket/autoload.el
Normal file
12
.emacs.d/modules/lang/racket/autoload.el
Normal file
@@ -0,0 +1,12 @@
|
||||
;;; lang/racket/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +racket/open-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