emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/emoji aaa0f5c 1/2: Use helper function in emoji-composition-name


From: Lars Ingebrigtsen
Subject: scratch/emoji aaa0f5c 1/2: Use helper function in emoji-composition-name
Date: Thu, 28 Oct 2021 20:51:51 -0400 (EDT)

branch: scratch/emoji
commit aaa0f5c704f09c6d4f80afc6b0037a3761a0271b
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Use helper function in emoji-composition-name
---
 lisp/play/emoji.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/play/emoji.el b/lisp/play/emoji.el
index ee0e816..aa2930b 100644
--- a/lisp/play/emoji.el
+++ b/lisp/play/emoji.el
@@ -115,7 +115,7 @@ when the command was issued."
   "Say what the name of the composed grapheme cluster GLYPH is.
 If it's not known, this function returns nil."
   (require 'emoji-labels)
-  (gethash glyph emoji--names))
+  (emoji--name glyph))
 
 (defun emoji--list-generate (name alist)
   (let ((width (/ (window-width) 5))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]