summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-05-10 05:13:14 +0000
committerRichard M. Stallman <rms@gnu.org>1994-05-10 05:13:14 +0000
commit4ec982c5b302d0c8053913a96b31bd434d461ce5 (patch)
treec2d6978715a0bc1b8d6a888ba0614f6c95d0308f /lisp/simple.el
parent8c8208202e6e69f68a510eed05bf598cf8f3f8cc (diff)
downloademacs-4ec982c5b302d0c8053913a96b31bd434d461ce5.tar.gz
(shell-command-on-region): Don't kill output buffer when in the one line case.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el3
1 files changed, 1 insertions, 2 deletions
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))))))))