projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f96eee4
)
Make haikufont_list_family actually work
author
Po Lu
<luangruo@yahoo.com>
Wed, 9 Feb 2022 05:09:24 +0000
(
05:09
+0000)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 9 Feb 2022 05:09:24 +0000
(
05:09
+0000)
* haikufont.c (haikufont_list_family): Intern returned font
families.
src/haikufont.c
patch
|
blob
|
history
diff --git
a/src/haikufont.c
b/src/haikufont.c
index ebff619287df56a2e7faecb7b3542915b3f7c444..e9e788e8e866a89ef11f9bb528a9d645731d7511 100644
(file)
--- a/
src/haikufont.c
+++ b/
src/haikufont.c
@@
-1043,8
+1043,7
@@
haikufont_list_family (struct frame *f)
for (idx = 0; idx < length; ++idx)
{
if (styles[idx][0])
- list = Fcons (build_string_from_utf8 ((char *) &styles[idx]),
- list);
+ list = Fcons (intern ((char *) &styles[idx]), list);
}
free (styles);