diff options
| author | Glenn Morris | 2019-12-25 07:50:19 -0800 |
|---|---|---|
| committer | Glenn Morris | 2019-12-25 07:50:19 -0800 |
| commit | 2bb7bb4abfa5667ba5cd220ca3dd89731f33ff09 (patch) | |
| tree | 3317f66921cf3cd0d787816217bfd056e2bc2a3f /src/coding.c | |
| parent | 93d4725f9ceabfaf40e75ecf2e28b67789741941 (diff) | |
| parent | ca6a53d3bc91d6fef9aa872495ab74298ce91bee (diff) | |
| download | emacs-2bb7bb4abfa5667ba5cd220ca3dd89731f33ff09.tar.gz emacs-2bb7bb4abfa5667ba5cd220ca3dd89731f33ff09.zip | |
Merge from origin/emacs-27
ca6a53d3bc Don't default to showing X-Faces externally in Gnus
dbf4b5b2d0 Fix manual typo in Special Read Syntax
a9fe6dfa90 Fix problem with emacs -nw / eww / svg
0de63092c8 Clarify base64 requirements and say what {en,de}code_codin...
6184aa003f ; * etc/NEWS: Fix boring oddities.
51ea32dd12 * src/emacs-module.h.in: Add reference to manual.
75d0cef20d Trivial docstring fixes
ee12c421b6 imagemagick-types needs to initialize ImageMagick
# Conflicts:
# etc/NEWS
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c index d9964908dce..35d6be470c8 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -9415,6 +9415,13 @@ code_convert_region (Lisp_Object start, Lisp_Object end, | |||
| 9415 | DEFUN ("decode-coding-region", Fdecode_coding_region, Sdecode_coding_region, | 9415 | DEFUN ("decode-coding-region", Fdecode_coding_region, Sdecode_coding_region, |
| 9416 | 3, 4, "r\nzCoding system: ", | 9416 | 3, 4, "r\nzCoding system: ", |
| 9417 | doc: /* Decode the current region from the specified coding system. | 9417 | doc: /* Decode the current region from the specified coding system. |
| 9418 | |||
| 9419 | What's meant by \"decoding\" is transforming bytes into text | ||
| 9420 | (characters). If, for instance, you have a region that contains data | ||
| 9421 | that represents the two bytes #xc2 #xa9, after calling this function | ||
| 9422 | with the utf-8 coding system, the region will contain the single | ||
| 9423 | character ?\\N{COPYRIGHT SIGN}. | ||
| 9424 | |||
| 9418 | When called from a program, takes four arguments: | 9425 | When called from a program, takes four arguments: |
| 9419 | START, END, CODING-SYSTEM, and DESTINATION. | 9426 | START, END, CODING-SYSTEM, and DESTINATION. |
| 9420 | START and END are buffer positions. | 9427 | START and END are buffer positions. |
| @@ -9438,6 +9445,13 @@ not fully specified.) */) | |||
| 9438 | DEFUN ("encode-coding-region", Fencode_coding_region, Sencode_coding_region, | 9445 | DEFUN ("encode-coding-region", Fencode_coding_region, Sencode_coding_region, |
| 9439 | 3, 4, "r\nzCoding system: ", | 9446 | 3, 4, "r\nzCoding system: ", |
| 9440 | doc: /* Encode the current region by specified coding system. | 9447 | doc: /* Encode the current region by specified coding system. |
| 9448 | |||
| 9449 | What's meant by \"encoding\" is transforming textual data (characters) | ||
| 9450 | into bytes. If, for instance, you have a region that contains the | ||
| 9451 | single character ?\\N{COPYRIGHT SIGN}, after calling this function with | ||
| 9452 | the utf-8 coding system, the data in the region will represent the two | ||
| 9453 | bytes #xc2 #xa9. | ||
| 9454 | |||
| 9441 | When called from a program, takes four arguments: | 9455 | When called from a program, takes four arguments: |
| 9442 | START, END, CODING-SYSTEM and DESTINATION. | 9456 | START, END, CODING-SYSTEM and DESTINATION. |
| 9443 | START and END are buffer positions. | 9457 | START and END are buffer positions. |