From: Eli Zaretskii Date: Mon, 9 Apr 2012 16:56:35 +0000 (+0300) Subject: Fix bug #11208 with inaccurate doc string of shell-command-on-region. X-Git-Tag: emacs-24.0.96~111^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f847f41724b8c2ece83fa24b039f6f298f14e6f;p=emacs.git Fix bug #11208 with inaccurate doc string of shell-command-on-region. lisp/simple.el (shell-command-on-region): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5934517a6d2..e3a7ba29e4a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-04-09 Eli Zaretskii + + * simple.el (shell-command-on-region): Doc fix. (Bug#11208) + 2012-04-09 Glenn Morris * calendar/holidays.el (calendar-check-holidays): Doc fix. diff --git a/lisp/simple.el b/lisp/simple.el index 8b04534455d..c345734c37b 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2464,9 +2464,9 @@ COMMAND. To specify a coding system for converting non-ASCII characters in the input and output to the shell command, use \\[universal-coding-system-argument] before this command. By default, the input (from the current buffer) -is encoded in the same coding system that will be used to save the file, -`buffer-file-coding-system'. If the output is going to replace the region, -then it is decoded from that same coding system. +is encoded using coding-system specified by `process-coding-system-alist', +falling back to `default-process-coding-system' if no match for COMMAND +is found in `process-coding-system-alist'. The noninteractive arguments are START, END, COMMAND, OUTPUT-BUFFER, REPLACE, ERROR-BUFFER, and DISPLAY-ERROR-BUFFER.