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:
parent
6aac4caaff
commit
e34017fdbe
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue