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
24b34550
Commit
24b34550
authored
Apr 29, 2009
by
Kenichi Handa
Browse files
(set_default_ascii_font): Delete this unused function.
parent
518c4881
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
17 deletions
+10
-17
src/ChangeLog
src/ChangeLog
+10
-0
src/fontset.c
src/fontset.c
+0
-17
No files found.
src/ChangeLog
View file @
24b34550
2009-04-29 Kenichi Handa <handa@m17n.org>
* fontset.h (set_default_ascii_font): Delete extern.
* fontset.c (set_default_ascii_font): Delete this unused function.
* frame.c (x_set_font): When ARG is a font-object, check if the
font-object matches with the ASCII font-spec of the frame's
fontset. If not, create a new fontset for the frame.
2009-04-28 Andreas Schwab <schwab@linux-m68k.org>
* fns.c (Flocale_info): Protect vector from GC during decoding.
...
...
src/fontset.c
View file @
24b34550
...
...
@@ -765,23 +765,6 @@ make_fontset (frame, name, base)
return
fontset
;
}
/* Set the ASCII font of the default fontset to FONTNAME if that is
not yet set. */
void
set_default_ascii_font
(
fontname
)
Lisp_Object
fontname
;
{
if
(
!
STRINGP
(
FONTSET_ASCII
(
Vdefault_fontset
)))
{
int
id
=
fs_query_fontset
(
fontname
,
2
);
if
(
id
>=
0
)
fontname
=
FONTSET_ASCII
(
FONTSET_FROM_ID
(
id
));
FONTSET_ASCII
(
Vdefault_fontset
)
=
fontname
;
}
}
/********** INTERFACES TO xfaces.c, xfns.c, and dispextern.h **********/
...
...
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