branch: externals/org-modern
commit 32ec0e95fa480d2f025474af77e3d584217c0752
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Use assq
---
 org-modern.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-modern.el b/org-modern.el
index 7df9726aa2..915f916d69 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -329,7 +329,7 @@ the font.")
         (end (match-end 1)))
     (put-text-property
      beg end 'display
-     (alist-get (char-after (1+ beg)) org-modern--checkbox-cache))))
+     (cdr (assq (char-after (1+ beg)) org-modern--checkbox-cache)))))
 
 (defun org-modern--keyword ()
   "Prettify keywords according to `org-modern-keyword'."

Reply via email to