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
ebc64af3
Commit
ebc64af3
authored
May 24, 1993
by
Richard M. Stallman
Browse files
(Fset_face_attribute_internal): Don't call unload_font
for the frame's own font.
parent
6515fde4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/xfaces.c
src/xfaces.c
+2
-1
No files found.
src/xfaces.c
View file @
ebc64af3
...
...
@@ -863,7 +863,8 @@ DEFUN ("set-face-attribute-internal", Fset_face_attribute_internal,
if
(
EQ
(
attr_name
,
intern
(
"font"
)))
{
XFontStruct
*
font
=
load_font
(
f
,
attr_value
);
unload_font
(
f
,
face
->
font
);
if
(
face
->
font
!=
f
->
display
.
x
->
font
)
unload_font
(
f
,
face
->
font
);
face
->
font
=
font
;
}
else
if
(
EQ
(
attr_name
,
intern
(
"foreground"
)))
...
...
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