From: Don Armstrong Date: Tue, 22 Dec 2020 16:33:37 +0000 (-0800) Subject: shell-command-on-region takes more options X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ffd7034a1d894e24b3a317ed971d9b6322e3452f;p=lib.git shell-command-on-region takes more options --- 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") )