2016-04-12 15:33:06 -04:00
|
|
|
;;; defuns-julia.el
|
|
|
|
|
|
|
|
;;;###autoload
|
2016-05-20 22:37:30 -04:00
|
|
|
(defun doom/julia-repl ()
|
2016-04-12 15:33:06 -04:00
|
|
|
"Run an inferior instance of `julia' inside Emacs."
|
|
|
|
(interactive)
|
|
|
|
(let ((buffer (get-buffer-create "*Julia*")))
|
|
|
|
(unless (comint-check-proc "*Julia*")
|
|
|
|
(apply #'make-comint-in-buffer "Julia" "*Julia*" julia-program julia-arguments))
|
|
|
|
(pop-to-buffer buffer)
|
|
|
|
(with-current-buffer buffer
|
|
|
|
(inferior-julia-mode))))
|
|
|
|
|
|
|
|
(provide 'defuns-julia)
|
|
|
|
;;; defuns-julia.el ends here
|