comparison src/coding.c @ 98992:d4659edb9b7b

(Fencode_coding_region, Fdecode_coding_region) (Fdecode_coding_string, Fencode_coding_string): Doc fix.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 21 Oct 2008 15:56:56 +0000
parents 71becd1e9707
children 10cd979d05ca
comparison
equal deleted inserted replaced
98991:c965a401b9ac 98992:d4659edb9b7b
8440 START, END, CODING-SYSTEM, and DESTINATION. 8440 START, END, CODING-SYSTEM, and DESTINATION.
8441 START and END are buffer positions. 8441 START and END are buffer positions.
8442 8442
8443 Optional 4th arguments DESTINATION specifies where the decoded text goes. 8443 Optional 4th arguments DESTINATION specifies where the decoded text goes.
8444 If nil, the region between START and END is replaced by the decoded text. 8444 If nil, the region between START and END is replaced by the decoded text.
8445 If buffer, the decoded text is inserted in the buffer. 8445 If buffer, the decoded text is inserted in that buffer after point (point
8446 does not move).
8446 In those cases, the length of the decoded text is returned. 8447 In those cases, the length of the decoded text is returned.
8447 If DESTINATION is t, the decoded text is returned. 8448 If DESTINATION is t, the decoded text is returned.
8448 8449
8449 This function sets `last-coding-system-used' to the precise coding system 8450 This function sets `last-coding-system-used' to the precise coding system
8450 used (which may be different from CODING-SYSTEM if CODING-SYSTEM is 8451 used (which may be different from CODING-SYSTEM if CODING-SYSTEM is
8462 START, END, CODING-SYSTEM and DESTINATION. 8463 START, END, CODING-SYSTEM and DESTINATION.
8463 START and END are buffer positions. 8464 START and END are buffer positions.
8464 8465
8465 Optional 4th arguments DESTINATION specifies where the encoded text goes. 8466 Optional 4th arguments DESTINATION specifies where the encoded text goes.
8466 If nil, the region between START and END is replace by the encoded text. 8467 If nil, the region between START and END is replace by the encoded text.
8467 If buffer, the encoded text is inserted in the buffer. 8468 If buffer, the encoded text is inserted in that buffer after point (point
8469 does not move).
8468 In those cases, the length of the encoded text is returned. 8470 In those cases, the length of the encoded text is returned.
8469 If DESTINATION is t, the encoded text is returned. 8471 If DESTINATION is t, the encoded text is returned.
8470 8472
8471 This function sets `last-coding-system-used' to the precise coding system 8473 This function sets `last-coding-system-used' to the precise coding system
8472 used (which may be different from CODING-SYSTEM if CODING-SYSTEM is 8474 used (which may be different from CODING-SYSTEM if CODING-SYSTEM is
8542 8544
8543 Optional third arg NOCOPY non-nil means it is OK to return STRING itself 8545 Optional third arg NOCOPY non-nil means it is OK to return STRING itself
8544 if the decoding operation is trivial. 8546 if the decoding operation is trivial.
8545 8547
8546 Optional fourth arg BUFFER non-nil means that the decoded text is 8548 Optional fourth arg BUFFER non-nil means that the decoded text is
8547 inserted in BUFFER instead of returned as a string. In this case, 8549 inserted in that buffer after point (point does not move). In this
8548 the return value is the length of the decoded text. 8550 case, the return value is the length of the decoded text.
8549 8551
8550 This function sets `last-coding-system-used' to the precise coding system 8552 This function sets `last-coding-system-used' to the precise coding system
8551 used (which may be different from CODING-SYSTEM if CODING-SYSTEM is 8553 used (which may be different from CODING-SYSTEM if CODING-SYSTEM is
8552 not fully specified.) */) 8554 not fully specified.) */)
8553 (string, coding_system, nocopy, buffer) 8555 (string, coding_system, nocopy, buffer)
8563 8565
8564 Optional third arg NOCOPY non-nil means it is OK to return STRING 8566 Optional third arg NOCOPY non-nil means it is OK to return STRING
8565 itself if the encoding operation is trivial. 8567 itself if the encoding operation is trivial.
8566 8568
8567 Optional fourth arg BUFFER non-nil means that the encoded text is 8569 Optional fourth arg BUFFER non-nil means that the encoded text is
8568 inserted in BUFFER instead of returned as a string. In this case, 8570 inserted in that buffer after point (point does not move). In this
8569 the return value is the length of the encoded text. 8571 case, the return value is the length of the encoded text.
8570 8572
8571 This function sets `last-coding-system-used' to the precise coding system 8573 This function sets `last-coding-system-used' to the precise coding system
8572 used (which may be different from CODING-SYSTEM if CODING-SYSTEM is 8574 used (which may be different from CODING-SYSTEM if CODING-SYSTEM is
8573 not fully specified.) */) 8575 not fully specified.) */)
8574 (string, coding_system, nocopy, buffer) 8576 (string, coding_system, nocopy, buffer)