bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#818: 23.0.60; error when window-size-change-functions is a buffer-lo


From: martin rudalics
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
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

> 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;

reply via email to

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