[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-superstar 8077107c9f 157/162: improve code of disablin
From: |
Stefan Kangas |
Subject: |
[nongnu] elpa/org-superstar 8077107c9f 157/162: improve code of disabling org-superstar in source code block |
Date: |
Fri, 31 Dec 2021 19:35:40 -0500 (EST) |
branch: elpa/org-superstar
commit 8077107c9fbded46d28e5503099f6835a5eeae1f
Author: trungtq <taquangtrungvn@gmail.com>
Commit: trungtq <taquangtrungvn@gmail.com>
improve code of disabling org-superstar in source code block
---
org-superstar.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/org-superstar.el b/org-superstar.el
index 178b14ef77..8ed6f52cef 100644
--- a/org-superstar.el
+++ b/org-superstar.el
@@ -637,12 +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))
- (save-match-data
- (not (org-in-src-block-p)))
- t)))
+ '(plain-list) t)))))
(defun org-superstar-headline-or-inlinetask-p ()
"Return t if the current match is a proper headline or inlinetask."
- [nongnu] elpa/org-superstar 2800b83e88 133/162: Version Bump., (continued)
- [nongnu] elpa/org-superstar 2800b83e88 133/162: Version Bump., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 7f83636db2 136/162: Update README for absolutely astonishing 33k+ dls on MELPA, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar a5af8b6ddf 141/162: Remove example files from #21., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 417b81772a 147/162: Support defining a default TODO bullet, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 3efb5f76cb 146/162: Allow hiding leading bullet for all todo keywords, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 6cdb79e5fa 148/162: Bugfix: Stop interpreting normal headings as TODO items., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 806b699b7d 149/162: Merge branch 'master' into volatile, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 251b203b58 153/162: Update (C)opyright., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 9ac640d620 154/162: Avoid positional args in define-minor-mode, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 82440ccda4 155/162: Avoid empty font-lock keyword if inlinetask first bullet is not used, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 8077107c9f 157/162: improve code of disabling org-superstar in source code block,
Stefan Kangas <=
- [nongnu] elpa/org-superstar 1bd93f9382 158/162: Merge pull request #30 from leungbk/define-minor-mode, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar c81cf4b8ec 050/162: added a minor sample file for new TODO key feature, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar d52497056f 118/162: Update issue templates: add feature related templates, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 3c973ce35d 145/162: Remove spurious package versioning info., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 9d64c42e50 152/162: Updated README., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar af91ebb24a 159/162: Merge branch 'volatile', Stefan Kangas, 2021/12/31