aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2008-05-15 01:01:05 +0000
committerKenichi Handa <[email protected]>2008-05-15 01:01:05 +0000
commitc45fdeecef78893f3cf22f5954c4656e9484177d (patch)
treecc803d4027630d0068ca825d73218f6d8f50c643 /src
parent5f2d79e0539460080b61c752fc943fee880e3367 (diff)
(Finternal_set_lisp_face_attribute): Be sure to make a
font-spec for QCfont value.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 902d30caad..a7d24f0d61 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -3303,8 +3303,7 @@ FRAME 0 means change the face on all frames, and change the default
if (fontset >= 0)
value = fontset_ascii (fontset);
- else
- value = font_spec_from_name (value);
+ value = font_spec_from_name (value);
}
else
signal_error ("Invalid font or font-spec", value);