From: Richard M. Stallman Date: Tue, 10 May 1994 05:13:14 +0000 (+0000) Subject: (shell-command-on-region): Don't kill output buffer when in the one line case. X-Git-Tag: emacs-19.34~8427 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4ec982c5b302d0c8053913a96b31bd434d461ce5;p=emacs.git (shell-command-on-region): Don't kill output buffer when in the one line case. --- diff --git a/lisp/simple.el b/lisp/simple.el index ad8ead703fe..6b7bc51dc2f 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -811,8 +811,7 @@ deleted." (set-buffer buffer) (goto-char (point-min)) (buffer-substring (point) - (progn (end-of-line) (point))))) - (kill-buffer buffer)) + (progn (end-of-line) (point)))))) (t (set-window-start (display-buffer buffer) 1))))))))