Also consolidates all REPLs (opened through the :tools eval module) under one popup rule, which inhibits ESC from prematurely closing them (#1944), and cleans up after their buffers *only* if their handlers weren't specified to :persist, e.g. (set-repl-handler! 'some-mode #'some-repl-handler :persist t) Also standardized ESS's REPL commands.
15 lines
339 B
EmacsLisp
15 lines
339 B
EmacsLisp
;;; lang/ess/autoload.el -*- lexical-binding: t; -*-
|
|
|
|
;;;###autoload
|
|
(defun +ess/open-julia-repl (&optional arg)
|
|
"Open an ESS Julia REPL"
|
|
(interactive "P")
|
|
(run-ess-julia arg)
|
|
(current-buffer))
|
|
|
|
;;;###autoload
|
|
(defun +ess/open-r-repl (&optional arg)
|
|
"Open an ESS R REPL"
|
|
(interactive "P")
|
|
(run-ess-r arg)
|
|
(current-buffer))
|