aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorJuanma Barranquero2008-05-28 09:11:59 +0000
committerJuanma Barranquero2008-05-28 09:11:59 +0000
commit446dcd757408ea727993347bb1880d63aad71d50 (patch)
tree4d234dd6cf49c2ff192025d6c28545ef2a11f88a /src/coding.c
parent45c420d68fca08e6a7784022bd9443ba4d784f6e (diff)
downloademacs-446dcd757408ea727993347bb1880d63aad71d50.tar.gz
emacs-446dcd757408ea727993347bb1880d63aad71d50.zip
(Fdecode_coding_region, Fencode_coding_region, Fencode_coding_string):
(syms_of_coding) <coding-system-for-read, coding-system-for-write>: <latin-extra-code-table>: Fix typos in docstrings. (syms_of_coding) <coding-system-alist>: Doc fix. (syms_of_coding) <translation-table-for-input>: Reflow docstring.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/coding.c b/src/coding.c
index 41b44556bd9..1e31eda089b 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -8315,7 +8315,7 @@ START and END are buffer positions.
8315Optional 4th arguments DESTINATION specifies where the decoded text goes. 8315Optional 4th arguments DESTINATION specifies where the decoded text goes.
8316If nil, the region between START and END is replaced by the decoded text. 8316If nil, the region between START and END is replaced by the decoded text.
8317If buffer, the decoded text is inserted in the buffer. 8317If buffer, the decoded text is inserted in the buffer.
8318In those cases, the length of the decoded text is returned.. 8318In those cases, the length of the decoded text is returned.
8319If DESTINATION is t, the decoded text is returned. 8319If DESTINATION is t, the decoded text is returned.
8320 8320
8321This function sets `last-coding-system-used' to the precise coding system 8321This function sets `last-coding-system-used' to the precise coding system
@@ -8337,7 +8337,7 @@ START and END are buffer positions.
8337Optional 4th arguments DESTINATION specifies where the encoded text goes. 8337Optional 4th arguments DESTINATION specifies where the encoded text goes.
8338If nil, the region between START and END is replace by the encoded text. 8338If nil, the region between START and END is replace by the encoded text.
8339If buffer, the encoded text is inserted in the buffer. 8339If buffer, the encoded text is inserted in the buffer.
8340In those cases, the length of the encoded text is returned.. 8340In those cases, the length of the encoded text is returned.
8341If DESTINATION is t, the encoded text is returned. 8341If DESTINATION is t, the encoded text is returned.
8342 8342
8343This function sets `last-coding-system-used' to the precise coding system 8343This function sets `last-coding-system-used' to the precise coding system
@@ -8438,7 +8438,7 @@ itself if the encoding operation is trivial.
8438 8438
8439Optional fourth arg BUFFER non-nil means that the encoded text is 8439Optional fourth arg BUFFER non-nil means that the encoded text is
8440inserted in BUFFER instead of returned as a string. In this case, 8440inserted in BUFFER instead of returned as a string. In this case,
8441the return value is the length of the encoded.text. 8441the return value is the length of the encoded text.
8442 8442
8443This function sets `last-coding-system-used' to the precise coding system 8443This function sets `last-coding-system-used' to the precise coding system
8444used (which may be different from CODING-SYSTEM if CODING-SYSTEM is 8444used (which may be different from CODING-SYSTEM if CODING-SYSTEM is
@@ -9834,7 +9834,7 @@ updated by the functions `define-coding-system' and
9834 DEFVAR_LISP ("coding-system-alist", &Vcoding_system_alist, 9834 DEFVAR_LISP ("coding-system-alist", &Vcoding_system_alist,
9835 doc: /* Alist of coding system names. 9835 doc: /* Alist of coding system names.
9836Each element is one element list of coding system name. 9836Each element is one element list of coding system name.
9837This variable is given to `completing-read' as TABLE argument. 9837This variable is given to `completing-read' as COLLECTION argument.
9838 9838
9839Do not alter the value of this variable manually. This variable should be 9839Do not alter the value of this variable manually. This variable should be
9840updated by the functions `make-coding-system' and 9840updated by the functions `make-coding-system' and
@@ -9864,8 +9864,8 @@ Don't modify this variable directly, but use `set-coding-priority'. */);
9864 doc: /* Specify the coding system for read operations. 9864 doc: /* Specify the coding system for read operations.
9865It is useful to bind this variable with `let', but do not set it globally. 9865It is useful to bind this variable with `let', but do not set it globally.
9866If the value is a coding system, it is used for decoding on read operation. 9866If the value is a coding system, it is used for decoding on read operation.
9867If not, an appropriate element is used from one of the coding system alists: 9867If not, an appropriate element is used from one of the coding system alists.
9868There are three such tables, `file-coding-system-alist', 9868There are three such tables: `file-coding-system-alist',
9869`process-coding-system-alist', and `network-coding-system-alist'. */); 9869`process-coding-system-alist', and `network-coding-system-alist'. */);
9870 Vcoding_system_for_read = Qnil; 9870 Vcoding_system_for_read = Qnil;
9871 9871
@@ -9876,8 +9876,8 @@ If the value is a coding system, it is used for encoding of output,
9876when writing it to a file and when sending it to a file or subprocess. 9876when writing it to a file and when sending it to a file or subprocess.
9877 9877
9878If this does not specify a coding system, an appropriate element 9878If this does not specify a coding system, an appropriate element
9879is used from one of the coding system alists: 9879is used from one of the coding system alists.
9880There are three such tables, `file-coding-system-alist', 9880There are three such tables: `file-coding-system-alist',
9881`process-coding-system-alist', and `network-coding-system-alist'. 9881`process-coding-system-alist', and `network-coding-system-alist'.
9882For output to files, if the above procedure does not specify a coding system, 9882For output to files, if the above procedure does not specify a coding system,
9883the value of `buffer-file-coding-system' is used. */); 9883the value of `buffer-file-coding-system' is used. */);
@@ -10037,7 +10037,7 @@ If Nth element is non-nil, the existence of code N in a file
10037a coding system of ISO 2022 variant which has a flag 10037a coding system of ISO 2022 variant which has a flag
10038`accept-latin-extra-code' t (e.g. iso-latin-1) on reading a file 10038`accept-latin-extra-code' t (e.g. iso-latin-1) on reading a file
10039or reading output of a subprocess. 10039or reading output of a subprocess.
10040Only 128th through 159th elements has a meaning. */); 10040Only 128th through 159th elements have a meaning. */);
10041 Vlatin_extra_code_table = Fmake_vector (make_number (256), Qnil); 10041 Vlatin_extra_code_table = Fmake_vector (make_number (256), Qnil);
10042 10042
10043 DEFVAR_LISP ("select-safe-coding-system-function", 10043 DEFVAR_LISP ("select-safe-coding-system-function",
@@ -10093,8 +10093,8 @@ escape sequence (e.g `latin-1') on reading by \\[universal-coding-system-argumen
10093 10093
10094 DEFVAR_LISP ("translation-table-for-input", &Vtranslation_table_for_input, 10094 DEFVAR_LISP ("translation-table-for-input", &Vtranslation_table_for_input,
10095 doc: /* Char table for translating self-inserting characters. 10095 doc: /* Char table for translating self-inserting characters.
10096This is applied to the result of input methods, not their input. See also 10096This is applied to the result of input methods, not their input.
10097`keyboard-translate-table'. */); 10097See also `keyboard-translate-table'. */);
10098 Vtranslation_table_for_input = Qnil; 10098 Vtranslation_table_for_input = Qnil;
10099 10099
10100 { 10100 {