emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/org-modern 0611604e65: org-modern-keyword: Convert to l


From: ELPA Syncer
Subject: [elpa] externals/org-modern 0611604e65: org-modern-keyword: Convert to lowercase before lookup
Date: Sun, 21 Aug 2022 13:57:56 -0400 (EDT)

branch: externals/org-modern
commit 0611604e65d69ffe51db83659c917063ec9d5cde
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    org-modern-keyword: Convert to lowercase before lookup
---
 org-modern.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-modern.el b/org-modern.el
index f3b330b5ee..e95900041f 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -311,7 +311,7 @@ You can specify a font `:family'. The font families 
`Iosevka', `Hack' and
   "Prettify keywords according to `org-modern-keyword'."
   (let ((beg (match-beginning 0))
         (end (match-end 0))
-        (rep (assoc (match-string 2) org-modern-keyword)))
+        (rep (assoc (downcase (match-string 2)) org-modern-keyword)))
     (unless rep
       (setq rep (assq t org-modern-keyword) end (match-end 1)))
     (pcase (cdr rep)



reply via email to

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