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
ea838e10
Commit
ea838e10
authored
Mar 16, 2011
by
Paul Eggert
Browse files
* font.c (font_get_spec): Remove; unused.
parent
7b81e2d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
16 deletions
+1
-16
src/ChangeLog
src/ChangeLog
+1
-0
src/font.c
src/font.c
+0
-16
No files found.
src/ChangeLog
View file @
ea838e10
...
...
@@ -4,6 +4,7 @@
pointers to constants.
(font_parse_fcname): Remove unused vars.
(font_delete_unmatched): Now static.
(font_get_spec): Remove; unused.
* fns.c (require_nesting_list, require_unwind): Now static.
(Ffillarray): Rename locals to avoid shadowing.
src/font.c
View file @
ea838e10
...
...
@@ -2949,22 +2949,6 @@ font_get_name (Lisp_Object font_object)
}
/* Return the specification of FONT_OBJECT. */
Lisp_Object
font_get_spec
(
Lisp_Object
font_object
)
{
Lisp_Object
spec
=
font_make_spec
();
int
i
;
for
(
i
=
0
;
i
<
FONT_SIZE_INDEX
;
i
++
)
ASET
(
spec
,
i
,
AREF
(
font_object
,
i
));
ASET
(
spec
,
FONT_SIZE_INDEX
,
make_number
(
XFONT_OBJECT
(
font_object
)
->
pixel_size
));
return
spec
;
}
/* Create a new font spec from FONT_NAME, and return it. If FONT_NAME
could not be parsed by font_parse_name, return Qnil. */
...
...
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