Commit 082c7686 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(shell-command-on-region):

Use region-beginning and region-end, in interactive spec.
parent d94307ee
......@@ -664,7 +664,7 @@ but it is nonetheless available in buffer `*Shell Command Output*'
even though that buffer is not automatically displayed. If there is no output
or output is inserted in the current buffer then `*Shell Command Output*' is
deleted."
(interactive (list (min (point) (mark)) (max (point) (mark))
(interactive (list (region-beginning) (region-end)
(read-string "Shell command on region: "
last-shell-command-on-region)
current-prefix-arg
......
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