Subject: Re: bug#818: 23.0.60; error when window-size-change-functions is a buffer-local hook

From: martin rudalics <[email-masked]>
Date: Sat, 30 Aug 2008 16:16:49 +0200

> In "emacs -Q", evaluating:
 >
 >    (progn
 >      (add-hook 'window-size-change-functions 'identity nil t)
 >      (split-window))
 >
 > yields:
 >
 >    Symbol's function definition is void: t

Does the attached patch fix it?

martin
*** xdisp.c.~1.1244.~	2008-08-07 03:54:06.000000000 +0200
--- xdisp.c	2008-08-30 16:12:09.765625000 +0200
***************
*** 9591,9597 ****
  
  	      while (CONSP (functions))
  		{
! 		  call1 (XCAR (functions), frame);
  		  functions = XCDR (functions);
  		}
  	      UNGCPRO;
--- 9591,9598 ----
  
  	      while (CONSP (functions))
  		{
! 		  if (!EQ (XCAR (functions), Qt))
! 		    call1 (XCAR (functions), frame);
  		  functions = XCDR (functions);
  		}
  	      UNGCPRO;