]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/lread.c (skip_lazy_string): more precise comment
authorMattias EngdegÄrd <mattiase@acm.org>
Thu, 25 Jul 2024 15:10:53 +0000 (17:10 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 24 Jul 2025 07:48:53 +0000 (09:48 +0200)
The bool vector compat hack is there for a bug in Emacs 19 only.

(cherry picked from commit 501bb04e53ee43736d941d0bd492cf88ea6b3385)

src/lread.c

index 5d9bdb065e8f4bef3bfac8a637527fefdc0f41dd..07cbb58c4ec2259b1ee6b0412a07e27429813256 100644 (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);