summaryrefslogtreecommitdiff
path: root/src/bignum.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2020-10-05 19:59:00 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2020-10-05 20:19:59 +0200
commita9f147af716aa026ec7778202901c4cb4bd5487d (patch)
tree221b3d26599d09f5af906d15544ebeb8ed788028 /src/bignum.c
parent0a5a1adab986de39a147771b8f9aa21656ecc001 (diff)
downloademacs-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/bignum.c')
-rw-r--r--src/bignum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bignum.c b/src/bignum.c
index 669df4d9ee3..dce5908a1e4 100644
--- a/src/bignum.c
+++ b/src/bignum.c
@@ -353,7 +353,7 @@ emacs_mpz_pow_ui (mpz_t rop, mpz_t const base, unsigned long exp)
/* Yield an upper bound on the buffer size needed to contain a C
string representing the NUM in base BASE. This includes any
- preceding '-' and the terminating NUL. */
+ preceding '-' and the terminating null. */
static ptrdiff_t
mpz_bufsize (mpz_t const num, int base)
{
@@ -418,7 +418,7 @@ bignum_to_string (Lisp_Object num, int base)
/* Create a bignum by scanning NUM, with digits in BASE.
NUM must consist of an optional '-', a nonempty sequence
- of base-BASE digits, and a terminating NUL byte, and
+ of base-BASE digits, and a terminating null byte, and
the represented number must not be in fixnum range. */
Lisp_Object