Subject: Re: bug#9006: 24.0.50; Abort in unshow_buffer/kill-buffer

From: Stephen Berman <[email-masked]>
Date: Sat, 09 Jul 2011 14:44:11 +0200

On Sat, 09 Jul 2011 10:44:39 +0200 martin rudalics <[email-masked]> wrote:

> and probably should do at least something like
>
>   if (XBUFFER (w->buffer) != current_buffer)
>     {
>       /* Set the window's buffer temporarily to the current buffer.  */
>       old_buffer = w->buffer;
>       XSETBUFFER (w->buffer, current_buffer);
>       set_marker_both (w->pointm, buffer, BEG, BEG_BYTE);
>     }
>
> instead.  Could you try with such a change?

With `buffer' the build fails; did you mean `w->buffer'?  (At least the
build succeeds with that.)

Steve Berman