Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
156302e8
Commit
156302e8
authored
Jan 13, 2009
by
Chong Yidong
Browse files
(Finternal_set_lisp_face_attribute): Revert last change.
parent
962e8aa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
src/xfaces.c
src/xfaces.c
+0
-11
No files found.
src/xfaces.c
View file @
156302e8
...
...
@@ -2469,11 +2469,6 @@ merge_face_vectors (f, from, to, named_merge_points)
}
}
/* If `font' attribute is specified, reflect the font properties in
it to the other attributes. */
if (0 && !UNSPECIFIEDP (to[LFACE_FONT_INDEX]))
font_update_lface (f, to);
/* TO is always an absolute face, which should inherit from nothing.
We blindly copy the :inherit attribute above and fix it up here. */
to[LFACE_INHERIT_INDEX] = Qnil;
...
...
@@ -3341,12 +3336,6 @@ FRAME 0 means change the face on all frames, and change the default
the attribute is mandatory. Also, clear the average
width. */
font_clear_prop (XVECTOR (lface)->contents, prop_index);
/* If we are setting QCfamily, clear out FONT_WIDTH_INDEX as
well. This avoids rejecting valid families that lack support
for a particular width. */
if (prop_index == FONT_FAMILY_INDEX)
font_clear_prop (XVECTOR (lface)->contents, FONT_WIDTH_INDEX);
}
/* Changing a named face means that all realized faces depending on
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment