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

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

[nongnu] elpa/org-superstar 979d2dd199 161/162: Merge pull request #34 f


From: Stefan Kangas
Subject: [nongnu] elpa/org-superstar 979d2dd199 161/162: Merge pull request #34 from taquangtrung/master
Date: Fri, 31 Dec 2021 19:35:40 -0500 (EST)

branch: elpa/org-superstar
commit 979d2dd1991d72dca289186cce07aff4b2d97c77
Merge: 2cd3f1e74b 8077107c9f
Author: D. Williams <d.williams@posteo.net>
Commit: GitHub <noreply@github.com>

    Merge pull request #34 from taquangtrung/master
    
    disable org-superstar in org source code block
---
 org-superstar.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/org-superstar.el b/org-superstar.el
index 2bf49bfbcc..337621fd0f 100644
--- a/org-superstar.el
+++ b/org-superstar.el
@@ -637,10 +637,10 @@ This function may be expensive for files with very large 
plain
 lists; consider using ‘org-superstar-toggle-lightweight-lists’ in
 such cases to avoid slowdown."
   (or org-superstar-lightweight-lists
-      (and (save-match-data
+      (save-match-data
+        (and (not (org-in-src-block-p))
             (org-element-lineage (org-element-at-point)
-                                 '(plain-list) t))
-          t)))
+                                 '(plain-list) t)))))
 
 (defun org-superstar-headline-or-inlinetask-p ()
   "Return t if the current match is a proper headline or inlinetask."



reply via email to

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