diff options
author | Po Lu <luangruo@yahoo.com> | 2022-05-02 09:32:54 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-05-02 09:32:54 +0800 |
commit | 7b05f351f26849ab31d9425e585f7a418496a574 (patch) | |
tree | a7fa950d7be94a27ca7981eb40d36c1dee32a820 /src/nsfns.m | |
parent | 4fac694669fc138296f4d42706cdee269dca8a1c (diff) | |
download | emacs-7b05f351f26849ab31d9425e585f7a418496a574.tar.gz emacs-7b05f351f26849ab31d9425e585f7a418496a574.tar.bz2 emacs-7b05f351f26849ab31d9425e585f7a418496a574.zip |
Make the NS font dialog return more correct values
* src/nsfns.m (Fx_select_font): Update doc string.
* src/nsterm.m (ns_font_desc_to_font_spec): New
function.
([EmacsView showFontPanel]): Return selected font as a
font spec instead.
Diffstat (limited to 'src/nsfns.m')
-rw-r--r-- | src/nsfns.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsfns.m b/src/nsfns.m index b71a3d7376d..41fea6f0fe6 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -1595,7 +1595,7 @@ Some window managers may refuse to restack windows. */) DEFUN ("x-select-font", Fx_select_font, Sx_select_font, 0, 2, 0, doc: /* Read a font using a Nextstep dialog. -Return a string describing the selected font. +Return a font specification describing the selected font. FRAME is the frame on which to pop up the font chooser. If omitted or nil, it defaults to the selected frame. */) |