diff options
| author | Andreas Schwab | 2020-10-05 19:59:00 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2020-10-05 20:19:59 +0200 |
| commit | a9f147af716aa026ec7778202901c4cb4bd5487d (patch) | |
| tree | 221b3d26599d09f5af906d15544ebeb8ed788028 /src/coding.h | |
| parent | 0a5a1adab986de39a147771b8f9aa21656ecc001 (diff) | |
| download | emacs-a9f147af716aa026ec7778202901c4cb4bd5487d.tar.gz emacs-a9f147af716aa026ec7778202901c4cb4bd5487d.zip | |
Use the full name of the null byte/character, not its abbreviation
* lisp/subr.el (inhibit-nul-byte-detection): Make it an obsolete alias.
* src/coding.c (setup_coding_system): Use original name.
(detect_coding): Rename nul_byte_found => null_byte_found.
(detect_coding_system): Use original name.
Rename nul_byte_found => null_byte_found.
(Fdefine_coding_system_internal): Use original name.
(syms_of_coding): Rename inhibit-nul-byte-detection to
inhibit-null-byte-detection.
* src/w16select.c (get_clipboard_data): Rename nul_char to null_char.
* src/json.c (check_string_without_embedded_nulls): Rename from
check_string_without_embedded_nuls.
(Fjson_parse_string): Adjust accordingly.
* src/coding.h (enum define_coding_undecided_arg_index)
(enum coding_attr_index): Rename ...nul_byte... to ...null_byte....
* lisp/info.el (info-insert-file-contents, Info-insert-dir):
* lisp/international/mule.el (define-coding-system):
* lisp/vc/vc-git.el (vc-git--call):
* doc/lispref/nonascii.texi (Lisp and Coding Systems): Use original name.
Diffstat (limited to 'src/coding.h')
| -rw-r--r-- | src/coding.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/coding.h b/src/coding.h index c2a7b2a00ff..4973cf89eb1 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -82,7 +82,7 @@ enum define_coding_ccl_arg_index | |||
| 82 | 82 | ||
| 83 | enum define_coding_undecided_arg_index | 83 | enum define_coding_undecided_arg_index |
| 84 | { | 84 | { |
| 85 | coding_arg_undecided_inhibit_nul_byte_detection = coding_arg_max, | 85 | coding_arg_undecided_inhibit_null_byte_detection = coding_arg_max, |
| 86 | coding_arg_undecided_inhibit_iso_escape_detection, | 86 | coding_arg_undecided_inhibit_iso_escape_detection, |
| 87 | coding_arg_undecided_prefer_utf_8, | 87 | coding_arg_undecided_prefer_utf_8, |
| 88 | coding_arg_undecided_max | 88 | coding_arg_undecided_max |
| @@ -139,7 +139,7 @@ enum coding_attr_index | |||
| 139 | 139 | ||
| 140 | coding_attr_emacs_mule_full, | 140 | coding_attr_emacs_mule_full, |
| 141 | 141 | ||
| 142 | coding_attr_undecided_inhibit_nul_byte_detection, | 142 | coding_attr_undecided_inhibit_null_byte_detection, |
| 143 | coding_attr_undecided_inhibit_iso_escape_detection, | 143 | coding_attr_undecided_inhibit_iso_escape_detection, |
| 144 | coding_attr_undecided_prefer_utf_8, | 144 | coding_attr_undecided_prefer_utf_8, |
| 145 | 145 | ||
| @@ -353,7 +353,7 @@ struct emacs_mule_spec | |||
| 353 | 353 | ||
| 354 | struct undecided_spec | 354 | struct undecided_spec |
| 355 | { | 355 | { |
| 356 | /* Inhibit NUL byte detection. 1 means always inhibit, | 356 | /* Inhibit null byte detection. 1 means always inhibit, |
| 357 | -1 means do not inhibit, 0 means rely on user variable. */ | 357 | -1 means do not inhibit, 0 means rely on user variable. */ |
| 358 | int inhibit_nbd; | 358 | int inhibit_nbd; |
| 359 | 359 | ||