[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs crashes when displaying the Euro character
From: |
Richard Stallman |
Subject: |
Re: Emacs crashes when displaying the Euro character |
Date: |
Sat, 02 Sep 2006 14:08:49 -0400 |
How about this fix?
diff -c /home/rms/emacs/src/xdisp.c.\~125\~ /home/rms/emacs/src/xdisp.c
*** /home/rms/emacs/src/xdisp.c.~125~ Tue Aug 29 07:35:42 2006
--- /home/rms/emacs/src/xdisp.c Sat Sep 2 09:31:55 2006
***************
*** 10788,10800 ****
int preserve_echo_area;
{
struct window *w = XWINDOW (selected_window);
! struct frame *f = XFRAME (w->frame);
int pause;
int must_finish = 0;
struct text_pos tlbufpos, tlendpos;
int number_of_visible_frames;
int count;
! struct frame *sf = SELECTED_FRAME ();
int polling_stopped_here = 0;
/* Non-zero means redisplay has to consider all windows on all
--- 10788,10800 ----
int preserve_echo_area;
{
struct window *w = XWINDOW (selected_window);
! struct frame *f;
int pause;
int must_finish = 0;
struct text_pos tlbufpos, tlendpos;
int number_of_visible_frames;
int count;
! struct frame *sf;
int polling_stopped_here = 0;
/* Non-zero means redisplay has to consider all windows on all
***************
*** 10807,10814 ****
initialized, or redisplay is explicitly turned off by setting
Vinhibit_redisplay. */
if (noninteractive
! || !NILP (Vinhibit_redisplay)
! || !f->glyphs_initialized_p)
return;
/* The flag redisplay_performed_directly_p is set by
--- 10807,10822 ----
initialized, or redisplay is explicitly turned off by setting
Vinhibit_redisplay. */
if (noninteractive
! || !NILP (Vinhibit_redisplay))
! return;
!
! /* Don't examine these until after testing Vinhibit_redisplay.
! When Emacs is shutting down, perhaps because its connection to
! X has dropped, we should not look at them at all. */
! f = XFRAME (w->frame);
! sf = SELECTED_FRAME ();
!
! if (!f->glyphs_initialized_p)
return;
/* The flag redisplay_performed_directly_p is set by
Diff finished. Sat Sep 2 09:32:26 2006
Re: Emacs crashes when displaying the Euro character, Milan Zamazal, 2006/09/04