changeset 9892:beb59716f299

(set_buffer_internal): Use XBUFFER_LOCAL_VALUE, not XCONS.
author Karl Heuer <kwzh@gnu.org>
date Fri, 11 Nov 1994 07:33:46 +0000
parents f4a53f86853d
children 8421d09f2afe
files src/buffer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Fri Nov 11 07:32:54 1994 +0000
+++ b/src/buffer.c	Fri Nov 11 07:33:46 1994 +0000
@@ -1000,7 +1000,7 @@
       valcontents = XSYMBOL (XCONS (XCONS (tail)->car)->car)->value;
       if ((BUFFER_LOCAL_VALUEP (valcontents)
 	   || SOME_BUFFER_LOCAL_VALUEP (valcontents))
-	  && (tem = XCONS (valcontents)->car,
+	  && (tem = XBUFFER_LOCAL_VALUE (valcontents)->car,
 	      (BOOLFWDP (tem) || INTFWDP (tem) || OBJFWDP (tem))))
 	/* Just reference the variable
 	     to cause it to become set for this buffer.  */
@@ -1015,7 +1015,7 @@
 	valcontents = XSYMBOL (XCONS (XCONS (tail)->car)->car)->value;
 	if ((BUFFER_LOCAL_VALUEP (valcontents)
 	     || SOME_BUFFER_LOCAL_VALUEP (valcontents))
-	    && (tem = XCONS (valcontents)->car,
+	    && (tem = XBUFFER_LOCAL_VALUE (valcontents)->car,
 		(BOOLFWDP (tem) || INTFWDP (tem) || OBJFWDP (tem))))
 	  /* Just reference the variable
                to cause it to become set for this buffer.  */