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

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

[nongnu] elpa/org-superstar d2abbbb714 156/162: disable org-superstar in


From: Stefan Kangas
Subject: [nongnu] elpa/org-superstar d2abbbb714 156/162: disable org-superstar in org source code block
Date: Fri, 31 Dec 2021 19:35:40 -0500 (EST)

branch: elpa/org-superstar
commit d2abbbb7141f345650ea3dbddcf4c33055af8893
Author: trungtq <taquangtrungvn@gmail.com>
Commit: trungtq <taquangtrungvn@gmail.com>

    disable org-superstar in org source code block
---
 org-superstar.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/org-superstar.el b/org-superstar.el
index e52dd33e0e..178b14ef77 100644
--- a/org-superstar.el
+++ b/org-superstar.el
@@ -640,6 +640,8 @@ such cases to avoid slowdown."
       (and (save-match-data
             (org-element-lineage (org-element-at-point)
                                  '(plain-list) t))
+           (save-match-data
+             (not (org-in-src-block-p)))
           t)))
 
 (defun org-superstar-headline-or-inlinetask-p ()



reply via email to

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