]> git.eshelyaron.com Git - emacs.git/commitdiff
Tune blv_found
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 Aug 2022 07:38:32 +0000 (00:38 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 Aug 2022 08:17:12 +0000 (01:17 -0700)
* src/lisp.h (blv_found): Prefer BASE_EQ to EQ where either will do.

src/lisp.h

index 8fcc9b6e75a7cfd6cce84a54f2959b7db43ce197..807fcb0e5ba28db3141a76c1dc03cd8701c9e6a7 100644 (file)
@@ -3793,10 +3793,10 @@ make_symbol_constant (Lisp_Object sym)
 
 /* Buffer-local variable access functions.  */
 
-INLINE int
+INLINE bool
 blv_found (struct Lisp_Buffer_Local_Value *blv)
 {
-  eassert (blv->found == !EQ (blv->defcell, blv->valcell));
+  eassert (blv->found == !BASE_EQ (blv->defcell, blv->valcell));
   return blv->found;
 }