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

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

[elpa] externals/org-modern 4f04e49fd8: Don't swallow space after #+keyw


From: ELPA Syncer
Subject: [elpa] externals/org-modern 4f04e49fd8: Don't swallow space after #+keyword: (#55)
Date: Fri, 3 Jun 2022 13:57:43 -0400 (EDT)

branch: externals/org-modern
commit 4f04e49fd859252bb824e254b48dcb2e2be34933
Author: tecosaur <tec@tecosaur.com>
Commit: GitHub <noreply@github.com>

    Don't swallow space after #+keyword: (#55)
    
    The final colon is part of the match, so 1+ takes us past the keyword.
---
 org-modern.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



reply via email to

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