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

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

bug#11964: describe-char causes a fatal error (abort trap: 6) in non-win


From: Chong Yidong
Subject: bug#11964: describe-char causes a fatal error (abort trap: 6) in non-windowed mode
Date: Mon, 26 Nov 2012 11:55:32 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.90 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> It is wrong to call internal-char-font on a non-GUI frame; for
> starters, that function might not be compiled in, e.g. if Emacs was
> configured --without-x.  All the other callers of that function are
> careful not to do that.  Does the patch below fix the problem?
>
> I also think internal-char-font should not blindly call the font
> driver without checking that it isn't NULL first.

Thanks for the patch.  But I'm not sure this is 100% fixed yet: calling
internal-char-font on a tty should not crash Emacs, since Lisp calls
should never cause a crash.  So I think internal-char-font should return
nil if the seleced frame is non-graphical.





reply via email to

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