emacs-diffs
[Top][All Lists]
Advanced

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

master 932c0bc1fc 01/16: Tune blv_found


From: Paul Eggert
Subject: master 932c0bc1fc 01/16: Tune blv_found
Date: Mon, 1 Aug 2022 04:17:27 -0400 (EDT)

branch: master
commit 932c0bc1fc80a63fb4d6015c049592f3c228cc4f
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    Tune blv_found
    
    * src/lisp.h (blv_found): Prefer BASE_EQ to EQ where either will do.
---
 src/lisp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lisp.h b/src/lisp.h
index 8fcc9b6e75..807fcb0e5b 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -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;
 }
 



reply via email to

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