diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-04-09 19:56:35 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-04-09 19:56:35 +0300 |
commit | 9f847f41724b8c2ece83fa24b039f6f298f14e6f (patch) | |
tree | 218150a895703e9e079e9c8691cce12a714b0e90 | |
parent | 4c6fe6c0094749675222435858ccf655f04b2bd4 (diff) | |
download | emacs-9f847f41724b8c2ece83fa24b039f6f298f14e6f.tar.gz emacs-9f847f41724b8c2ece83fa24b039f6f298f14e6f.tar.bz2 emacs-9f847f41724b8c2ece83fa24b039f6f298f14e6f.zip |
Fix bug #11208 with inaccurate doc string of shell-command-on-region.
lisp/simple.el (shell-command-on-region): Doc fix.
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/simple.el | 6 |
2 files changed, 7 insertions, 3 deletions
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 <eliz@gnu.org> + + * simple.el (shell-command-on-region): Doc fix. (Bug#11208) + 2012-04-09 Glenn Morris <rgm@gnu.org> * 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. |