mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 22:41:06 -08:00
; * src/font.c (Flist_fonts): Doc fix.
This commit is contained in:
parent
4c292b6f70
commit
3e489ed804
1 changed files with 6 additions and 3 deletions
|
|
@ -4346,12 +4346,15 @@ See also `font-get' for KEYs that have special meanings. */)
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFUN ("list-fonts", Flist_fonts, Slist_fonts, 1, 4, 0,
|
DEFUN ("list-fonts", Flist_fonts, Slist_fonts, 1, 4, 0,
|
||||||
doc: /* List available fonts matching FONT-SPEC on the current frame.
|
doc: /* List available fonts matching FONT-SPEC on FRAME.
|
||||||
Optional 2nd argument FRAME specifies the target frame.
|
If FRAME is nil or omitted, it defaults to the selected frame,
|
||||||
Optional 3rd argument NUM, if non-nil, limits the number of returned fonts.
|
Optional 3rd argument NUM, if non-nil, limits the number of returned fonts.
|
||||||
Optional 4th argument PREFER, if non-nil, is a font-spec to
|
Optional 4th argument PREFER, if non-nil, is a font-spec to
|
||||||
control the order of the returned list. Fonts are sorted by
|
control the order of the returned list. Fonts are sorted by
|
||||||
how close they are to PREFER. */)
|
how close they are to PREFER.
|
||||||
|
|
||||||
|
The return value is a list of font-entity objects describing available
|
||||||
|
fonts which match FONT-SPEC. */)
|
||||||
(Lisp_Object font_spec, Lisp_Object frame, Lisp_Object num, Lisp_Object prefer)
|
(Lisp_Object font_spec, Lisp_Object frame, Lisp_Object num, Lisp_Object prefer)
|
||||||
{
|
{
|
||||||
struct frame *f = decode_live_frame (frame);
|
struct frame *f = decode_live_frame (frame);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue