From 1820acc0e564275b4bc9e2138fb9bae9a8b775b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 25 Jul 2024 17:10:53 +0200 Subject: [PATCH] ; * 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) --- src/lread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5