branch: externals/shell-command+ commit 64c0fcf4abdbd45880eac935da6db0ae911b8d6d Author: Philip K <phi...@warpmail.net> Commit: Philip K <phi...@warpmail.net>
delete shell output instead of killing it --- bang.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bang.el b/bang.el index 070018d..973d94f 100644 --- a/bang.el +++ b/bang.el @@ -142,7 +142,7 @@ insert a literal % quote it using a backslash." (t (shell-command command nil shell-command-default-error-buffer))) (when (or has-! has->) (with-current-buffer "*Shell Command Output*" - (kill-ring-save (point-min) (point-max)))) + (delete-region (point-min) (point-max)))) (unless (or num-! arg-!) (bang--remember-command command)))))