emacs-devel
[Top][All Lists]
Advanced

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

Re: crashes during Feval from within WINDOW_WANTS_HEADER_LINE_P


From: Stefan Monnier
Subject: Re: crashes during Feval from within WINDOW_WANTS_HEADER_LINE_P
Date: Sun, 02 Mar 2008 00:46:46 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> I'm getting crashes after extending a macro.  I would appreciate your help.

> I have added to the WINDOW_WANTS_HEADER_LINE_P macro (dispextern.h)
> a function call to an elisp function whose name is stored in `window- 
> wants-header-line-function':

>       && (NILP(Vwindow_wants_header_line_function) ||                   \
>         !NILP (safe_call_win(Vwindow_wants_header_line_function, (W)))))

I'd be surprised if this macro is only used at places where it is safe
to run elisp code.  When doing such things, I highly recommend you run
with -DENABLE_CHECKING (which I don't guarantee will catch your
problem, but may).


        Stefan




reply via email to

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