emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master dfed333: Remove fixnum restriction on some display vars


From: Andy Moreton
Subject: Re: master dfed333: Remove fixnum restriction on some display vars
Date: Thu, 23 May 2019 14:47:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.50 (windows-nt)

On Wed 22 May 2019, Paul Eggert wrote:

> diff --git a/src/lisp.h b/src/lisp.h
> index 876b757..6db9059 100644
> --- a/src/lisp.h
> +++ b/src/lisp.h
> @@ -2679,7 +2679,7 @@ struct Lisp_Buffer_Objfwd
>    {
>      enum Lisp_Fwd_Type type; /* = Lisp_Fwd_Buffer_Obj */
>      int offset;
> -    /* One of Qnil, Qfixnump, Qsymbolp, Qstringp, Qfloatp or Qnumberp.  */
> +    /* One of Qnil, Qintegerp, Qsymbolp, Qstringp, Qfloatp or Qnumberp.  */
>      Lisp_Object predicate;
>    };

This fails to build if configured with "--enable-checking=structs" as
the hash has changed. This fixes it:

diff --git a/src/pdumper.c b/src/pdumper.c
index 28045d1959..5c14e950a0 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -2305,7 +2305,7 @@ static dump_off
 dump_fwd_buffer_obj (struct dump_context *ctx,
                      const struct Lisp_Buffer_Objfwd *buffer_objfwd)
 {
-#if CHECK_STRUCTS && !defined (HASH_Lisp_Buffer_Objfwd_13CA6B04FC)
+#if CHECK_STRUCTS && !defined (HASH_Lisp_Buffer_Objfwd_611EBD13FF)
 # error "Lisp_Buffer_Objfwd changed. See CHECK_STRUCTS comment."
 #endif
   struct Lisp_Buffer_Objfwd out;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]