unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Markus Triska <markus.triska@gmx.at>, 818@emacsbugs.donarmstrong.com
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	[thread overview]
Message-ID: <48B95651.4010305@gmx.at> (raw)
In-Reply-To: <m163pjhnhq.fsf@v254-244.vps.tuwien.ac.at>

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

 > 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

[-- Attachment #2: 818.diff --]
[-- Type: text/plain, Size: 486 bytes --]

*** 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	other threads:[~2008-08-30 14:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-29 15:03 bug#818: 23.0.60; error when window-size-change-functions is a buffer-local hook Markus Triska
2008-08-30 14:16 ` martin rudalics [this message]
2008-08-31  5:49   ` Markus Triska
2008-08-31  9:00     ` martin rudalics
2008-09-01  8:58   ` Andreas Schwab
2008-09-01  9:15     ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48B95651.4010305@gmx.at \
    --to=rudalics@gmx.at \
    --cc=818@emacsbugs.donarmstrong.com \
    --cc=markus.triska@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).