From: Mattias EngdegÄrd Date: Thu, 25 Jul 2024 15:10:53 +0000 (+0200) Subject: ; * src/lread.c (skip_lazy_string): more precise comment X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1820acc0e564275b4bc9e2138fb9bae9a8b775b2;p=emacs.git ; * src/lread.c (skip_lazy_string): more precise comment The bool vector compat hack is there for a bug in Emacs 19 only. (cherry picked from commit 501bb04e53ee43736d941d0bd492cf88ea6b3385) --- diff --git a/src/lread.c b/src/lread.c index 5d9bdb065e8..07cbb58c4ec 100644 --- a/src/lread.c +++ b/src/lread.c @@ -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);