emacs-diffs
[Top][All Lists]
Advanced

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

scratch/emoji 79cc7c9: Remove debugging


From: Lars Ingebrigtsen
Subject: scratch/emoji 79cc7c9: Remove debugging
Date: Fri, 29 Oct 2021 17:11:24 -0400 (EDT)

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

    Remove debugging
---
 lisp/play/emoji.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lisp/play/emoji.el b/lisp/play/emoji.el
index a34bbac..46980e1 100644
--- a/lisp/play/emoji.el
+++ b/lisp/play/emoji.el
@@ -269,16 +269,13 @@ character) under point is."
         ;; Remove glyphs we don't have in graphical displays.
         (if (let ((char (elt glyph 0)))
               (if emoji--font
-                  (elt (wrap emoji--font 0 1 (vector char)) 0)
+                  (font-get-glyphs emoji--font 0 1 (vector char))
                 (when-let ((font (car (internal-char-font nil char))))
                   (setq emoji--font font))))
             (setq alist (cdr alist))
           ;; Remove the element.
           (setcdr alist (cddr alist)))))))
 
-(defun wrap (a b c d)
-  (font-get-glyphs a b c d))
-
 (defun emoji--parse-emoji-test ()
   (setq emoji--labels nil)
   (with-temp-buffer



reply via email to

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