aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-11-03 16:33:15 +0100
committerLars Ingebrigtsen2019-11-03 16:33:15 +0100
commit5c8375bd681a7819e536dda84d63fb950595967d (patch)
treedd06b92d4f99b6c22075ca9c70a76e0bf532abe9 /src
parentba8a7882de5bbdb39c9c1d74297a9613aa28463f (diff)
downloademacs-5c8375bd681a7819e536dda84d63fb950595967d.tar.gz
emacs-5c8375bd681a7819e536dda84d63fb950595967d.zip
describe-font/font-info works with unloaded fonts
* lisp/international/mule-diag.el (describe-font): This function can be used on unloaded fonts, so remove that restriction from the doc string (bug#16815). Also allow completion over all fonts on the system. * src/font.c (Ffont_info): Ditto for the doc string.
Diffstat (limited to 'src')
-rw-r--r--src/font.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/font.c b/src/font.c
index 7fdadb17c14..156107e5897 100644
--- a/src/font.c
+++ b/src/font.c
@@ -5127,9 +5127,7 @@ where
5127 FEATURE is a symbol representing OpenType feature tag. 5127 FEATURE is a symbol representing OpenType feature tag.
5128 5128
5129 If the font is not an OpenType font, there are no elements 5129 If the font is not an OpenType font, there are no elements
5130 in CAPABILITY except the font format symbol. 5130 in CAPABILITY except the font format symbol. */)
5131
5132If the named font is not yet loaded, return nil. */)
5133 (Lisp_Object name, Lisp_Object frame) 5131 (Lisp_Object name, Lisp_Object frame)
5134{ 5132{
5135 struct frame *f; 5133 struct frame *f;