Further tweaks to emoji person groups

* lisp/international/emoji.el (emoji--score): Don't take the bit
after the colon into consideration, like in "kiss: person, person,
light skin tone, medium-light skin tone".
This commit is contained in:
Lars Ingebrigtsen 2021-12-19 20:25:44 +01:00
parent 6aac4caaff
commit e34017fdbe

View file

@ -361,7 +361,8 @@ the name is not known."
derivations))))
(defun emoji--score (string)
(if (string-match-p "person\\|people" string)
(if (string-match-p "person\\|people"
(replace-regexp-in-string ":.*" "" string))
0
1))