diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2020-10-05 19:59:00 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2020-10-05 20:19:59 +0200 |
commit | a9f147af716aa026ec7778202901c4cb4bd5487d (patch) | |
tree | 221b3d26599d09f5af906d15544ebeb8ed788028 /src/module-env-25.h | |
parent | 0a5a1adab986de39a147771b8f9aa21656ecc001 (diff) | |
download | emacs-a9f147af716aa026ec7778202901c4cb4bd5487d.tar.gz emacs-a9f147af716aa026ec7778202901c4cb4bd5487d.tar.bz2 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/module-env-25.h')
-rw-r--r-- | src/module-env-25.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/module-env-25.h b/src/module-env-25.h index 01ce65e9148..97c7787da34 100644 --- a/src/module-env-25.h +++ b/src/module-env-25.h @@ -80,13 +80,13 @@ EMACS_ATTRIBUTE_NONNULL(1); /* Copy the content of the Lisp string VALUE to BUFFER as an utf8 - NUL-terminated string. + null-terminated string. SIZE must point to the total size of the buffer. If BUFFER is NULL or if SIZE is not big enough, write the required buffer size to SIZE and return true. - Note that SIZE must include the last NUL byte (e.g. "abc" needs + Note that SIZE must include the last null byte (e.g. "abc" needs a buffer of size 4). Return true if the string was successfully copied. */ |