down to `call-process-region' to comply with he doc as reported on
<http://stackoverflow.com/questions/
16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
+2013-05-23 Sam Steingold <sds@gnu.org>
+
+ * simple.el (shell-command-on-region): Pass the `replace' argument
+ down to `call-process-region' to comply witht he doc as reported on
+ <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
+
2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/smie.el (smie-indent-forward-token)
(goto-char start)
(and replace (push-mark (point) 'nomsg))
(setq exit-status
- (call-process-region start end shell-file-name t
+ (call-process-region start end shell-file-name replace
(if error-file
(list t error-file)
t)