; * src/lread.c (skip_lazy_string): more precise comment

The bool vector compat hack is there for a bug in Emacs 19 only.
This commit is contained in:
Mattias Engdegård 2024-07-25 17:10:53 +02:00
parent 83da45ddd0
commit 501bb04e53

View file

@ -3635,9 +3635,9 @@ read_bool_vector (Lisp_Object readcharfun)
Lisp_Object str = read_string_literal (readcharfun);
if (STRING_MULTIBYTE (str)
|| !(size_in_chars == SCHARS (str)
/* We used to print 1 char too many when the number of bits
/* Emacs 19 printed 1 char too many when the number of bits
was a multiple of 8. Accept such input in case it came
from an old version. */
from that old version. */
|| length == (SCHARS (str) - 1) * BOOL_VECTOR_BITS_PER_CHAR))
invalid_syntax ("#&...", readcharfun);