Skip to content

Commit

Permalink
Merge pull request #34 from taquangtrung/master
Browse files Browse the repository at this point in the history
disable org-superstar in org source code block
  • Loading branch information
integral-dw committed Sep 15, 2021
2 parents 2cd3f1e + 8077107 commit 979d2dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions org-superstar.el
Expand Up @@ -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."
Expand Down

0 comments on commit 979d2dd

Please sign in to comment.