From ffd7034a1d894e24b3a317ed971d9b6322e3452f Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 22 Dec 2020 08:33:37 -0800 Subject: [PATCH] shell-command-on-region takes more options --- emacs_el/configuration/don-configuration.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs_el/configuration/don-configuration.org b/emacs_el/configuration/don-configuration.org index 0500eb8..4931f86 100644 --- a/emacs_el/configuration/don-configuration.org +++ b/emacs_el/configuration/don-configuration.org @@ -1209,8 +1209,8 @@ This can be used to link things pretty quickly if necessary (defun dla/ess-region-remote-eval (start end) "Evaluate region in a remote ESS instance" (interactive "r") - (shell-command-on-region start end "eval_r" (get-buffer-create "***essregionremoteeval***")) - kill-buffer "***essregionremoteeval***") + (shell-command-on-region start end "eval_r" (get-buffer-create "***essregionremoteeval***") nil nil nil) + (kill-buffer "***essregionremoteeval***")) ;; Don't restore history or save workspace image '(inferior-R-args "--no-restore-history --no-save") ) -- 2.39.5