changeset 50314:247bd25de9e9

(store_symval_forwarding): Re-instate part of the code that was deleted with too much enthusiasm.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 26 Mar 2003 15:23:10 +0000
parents 59ddec11881f
children c2d003df000c
files src/data.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/data.c	Wed Mar 26 11:48:32 2003 +0000
+++ b/src/data.c	Wed Mar 26 15:23:10 2003 +0000
@@ -897,6 +897,7 @@
 	    int offset = XBUFFER_OBJFWD (valcontents)->offset;
 	    Lisp_Object type;
 
+	    type = PER_BUFFER_TYPE (offset);
 	    if (! NILP (type) && ! NILP (newval)
 		&& XTYPE (newval) != XINT (type))
 	      buffer_slot_type_mismatch (offset);