changeset 1481:5004c07a8250

(shell-command-on-region): Use region-beginning and region-end, in interactive spec.
author Richard M. Stallman <rms@gnu.org>
date Tue, 27 Oct 1992 08:48:02 +0000
parents d0d11fa0ecf5
children b695cbb4fdab
files lisp/simple.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Tue Oct 27 04:11:46 1992 +0000
+++ b/lisp/simple.el	Tue Oct 27 08:48:02 1992 +0000
@@ -664,7 +664,7 @@
 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