GNU bug report logs - #818
23.0.60; error when window-size-change-functions is a buffer-local hook

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Fri, 29 Aug 2008 15:10:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Markus Triska <markus.triska <at> gmx.at>, 818 <at> debbugs.gnu.org
Subject: bug#818: 23.0.60;	error when window-size-change-functions is a buffer-local hook
Date: Sat, 30 Aug 2008 16:16:49 +0200
[Message part 1 (text/plain, inline)]
> 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
[818.diff (text/plain, inline)]
*** 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;

This bug report was last modified 16 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.