Add julia-mode
This commit is contained in:
parent
54dcb9fd44
commit
adbd4eecd0
4 changed files with 31 additions and 0 deletions
15
modules/defuns/defuns-julia.el
Normal file
15
modules/defuns/defuns-julia.el
Normal file
|
@ -0,0 +1,15 @@
|
|||
;;; defuns-julia.el
|
||||
|
||||
;;;###autoload
|
||||
(defun narf/julia-repl ()
|
||||
"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
|
Loading…
Add table
Add a link
Reference in a new issue