Commit 4ec982c5 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(shell-command-on-region): Don't kill output buffer when in the one line case.

parent 8c820820
......@@ -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))))))
(set-window-start (display-buffer buffer) 1))))))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment