projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35920d5
)
(font_at): If the window W is not on a window system,
author
Kenichi Handa
<handa@m17n.org>
Tue, 24 Apr 2007 11:35:15 +0000
(11:35 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 24 Apr 2007 11:35:15 +0000
(11:35 +0000)
return Qnil.
src/font.c
patch
|
blob
|
history
diff --git
a/src/font.c
b/src/font.c
index b0838cee1c013e939841799df12989e43f9a6abc..e6d38dee2fbc071581d0746f96cadb6dff6dfce3 100644
(file)
--- a/
src/font.c
+++ b/
src/font.c
@@
-2888,6
+2888,8
@@
font_at (c, pos, face, w, object)
int dummy;
f = XFRAME (w->frame);
+ if (! FRAME_WINDOW_P (f))
+ return Qnil;
if (! face)
{
if (STRINGP (object))