diff options
| author | Stefan Kangas | 2021-11-29 07:00:25 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2021-11-29 07:00:25 +0100 |
| commit | d648874110bdfe54d6f35f1748e27d96495ccfa3 (patch) | |
| tree | ed832a7375afdcaeda4ec9bd45376bc3a25a0189 | |
| parent | 390361cb24e376e8a00647a7625a06d6cdcf9b4d (diff) | |
| parent | c4daff9cf844ec85930bdcd2064787c92c260861 (diff) | |
| download | emacs-d648874110bdfe54d6f35f1748e27d96495ccfa3.tar.gz emacs-d648874110bdfe54d6f35f1748e27d96495ccfa3.zip | |
Merge from origin/emacs-28
c4daff9cf8 * Makefile.in (PREFERRED_BRANCH): Now emacs-28.
bca57086be ; Remove an obsolete comment
455b64c336 * src/coding.c (Fdecode_coding_region, Fencode_coding_regi...
| -rw-r--r-- | src/coding.c | 9 | ||||
| -rw-r--r-- | src/editfns.c | 3 |
2 files changed, 6 insertions, 6 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, | |||
| 9454 | 9454 | ||
| 9455 | DEFUN ("decode-coding-region", Fdecode_coding_region, Sdecode_coding_region, | 9455 | DEFUN ("decode-coding-region", Fdecode_coding_region, Sdecode_coding_region, |
| 9456 | 3, 4, "r\nzCoding system: ", | 9456 | 3, 4, "r\nzCoding system: ", |
| 9457 | doc: /* Decode the current region from the specified coding system. | 9457 | doc: /* Decode the current region using the specified coding system. |
| 9458 | Interactively, prompt for the coding system to decode the region. | 9458 | Interactively, prompt for the coding system to decode the region, and |
| 9459 | replace the region with the decoded text. | ||
| 9459 | 9460 | ||
| 9460 | \"Decoding\" means transforming bytes into readable text (characters). | 9461 | \"Decoding\" means transforming bytes into readable text (characters). |
| 9461 | If, for instance, you have a region that contains data that represents | 9462 | If, for instance, you have a region that contains data that represents |
| @@ -9485,7 +9486,9 @@ not fully specified.) */) | |||
| 9485 | 9486 | ||
| 9486 | DEFUN ("encode-coding-region", Fencode_coding_region, Sencode_coding_region, | 9487 | DEFUN ("encode-coding-region", Fencode_coding_region, Sencode_coding_region, |
| 9487 | 3, 4, "r\nzCoding system: ", | 9488 | 3, 4, "r\nzCoding system: ", |
| 9488 | doc: /* Encode the current region by specified coding system. | 9489 | doc: /* Encode the current region using th specified coding system. |
| 9490 | Interactively, prompt for the coding system to encode the region, and | ||
| 9491 | replace the region with the bytes that are the result of the encoding. | ||
| 9489 | 9492 | ||
| 9490 | What's meant by \"encoding\" is transforming textual data (characters) | 9493 | What's meant by \"encoding\" is transforming textual data (characters) |
| 9491 | into bytes. If, for instance, you have a region that contains the | 9494 | into bytes. If, for instance, you have a region that contains the |
diff --git a/src/editfns.c b/src/editfns.c index c8219decb06..5c9c34dc352 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -4265,9 +4265,6 @@ ring. */) | |||
| 4265 | enough to use as the temporary storage? That would avoid an | 4265 | enough to use as the temporary storage? That would avoid an |
| 4266 | allocation... interesting. Later, don't fool with it now. */ | 4266 | allocation... interesting. Later, don't fool with it now. */ |
| 4267 | 4267 | ||
| 4268 | /* Working without memmove, for portability (sigh), so must be | ||
| 4269 | careful of overlapping subsections of the array... */ | ||
| 4270 | |||
| 4271 | if (end1 == start2) /* adjacent regions */ | 4268 | if (end1 == start2) /* adjacent regions */ |
| 4272 | { | 4269 | { |
| 4273 | modify_text (start1, end2); | 4270 | modify_text (start1, end2); |