HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e50e568
)
(font_find_for_lface): Fix previous change.
author
Kenichi Handa
<handa@m17n.org>
Fri, 9 Jun 2006 06:28:33 +0000
(06:28 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 9 Jun 2006 06:28:33 +0000
(06:28 +0000)
src/font.c
patch
|
blob
|
blame
|
history
diff --git
a/src/font.c
b/src/font.c
index
9c8f37c
..
6f6e7f5
100644
(file)
--- a/
src/font.c
+++ b/
src/font.c
@@
-1728,7
+1728,7
@@
font_find_for_lface (f, lface, spec)
for (i = FONT_FOUNDRY_INDEX; i <= FONT_SIZE_INDEX; i++)
try_unspecified[i] = NILP (AREF (scratch_font_spec, i));
- if (STRINGP (attrs[LFACE_FONT_INDEX]))
+ if (
NILP (spec) &&
STRINGP (attrs[LFACE_FONT_INDEX]))
font_merge_old_spec (attrs[LFACE_FONT_INDEX], Qnil, Qnil,
scratch_font_spec);
if (NILP (AREF (scratch_font_spec, FONT_FAMILY_INDEX))