]> git.donarmstrong.com Git - lib.git/commitdiff
shell-command-on-region takes more options
authorDon Armstrong <don@donarmstrong.com>
Tue, 22 Dec 2020 16:33:37 +0000 (08:33 -0800)
committerDon Armstrong <don@donarmstrong.com>
Mon, 19 Apr 2021 15:22:35 +0000 (08:22 -0700)
emacs_el/configuration/don-configuration.org

index 0500eb8533ea7d03762ef001c8b278b266499905..4931f865ffd4fc9a609cc35860c9c1cf79f0ba27 100644 (file)
@@ -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")
     )