diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-11-28 20:18:16 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-11-28 20:18:16 +0200 |
commit | 455b64c33657f05f614007947cc9028621ba21d7 (patch) | |
tree | 5fb324e52fcbcbaaba3a50ff5299e6925a0b111e | |
parent | 1fffe9a210d328559da2af8facbb75286a31c74e (diff) | |
download | emacs-455b64c33657f05f614007947cc9028621ba21d7.tar.gz emacs-455b64c33657f05f614007947cc9028621ba21d7.tar.bz2 emacs-455b64c33657f05f614007947cc9028621ba21d7.zip |
* src/coding.c (Fdecode_coding_region, Fencode_coding_region): Doc fix.
-rw-r--r-- | src/coding.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/coding.c b/src/coding.c index 02dccf5bdb0..f8004d202e5 100644 --- a/src/coding.c +++ b/src/coding.c @@ -9454,8 +9454,9 @@ code_convert_region (Lisp_Object start, Lisp_Object end, DEFUN ("decode-coding-region", Fdecode_coding_region, Sdecode_coding_region, 3, 4, "r\nzCoding system: ", - doc: /* Decode the current region from the specified coding system. -Interactively, prompt for the coding system to decode the region. + doc: /* Decode the current region using the specified coding system. +Interactively, prompt for the coding system to decode the region, and +replace the region with the decoded text. \"Decoding\" means transforming bytes into readable text (characters). If, for instance, you have a region that contains data that represents @@ -9485,7 +9486,9 @@ not fully specified.) */) DEFUN ("encode-coding-region", Fencode_coding_region, Sencode_coding_region, 3, 4, "r\nzCoding system: ", - doc: /* Encode the current region by specified coding system. + doc: /* Encode the current region using th specified coding system. +Interactively, prompt for the coding system to encode the region, and +replace the region with the bytes that are the result of the encoding. What's meant by \"encoding\" is transforming textual data (characters) into bytes. If, for instance, you have a region that contains the |