[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-superstar 03be6c0a30 162/162: Remove now redundant cal
From: |
Stefan Kangas |
Subject: |
[nongnu] elpa/org-superstar 03be6c0a30 162/162: Remove now redundant call to org-element-lineage, version bump. |
Date: |
Fri, 31 Dec 2021 19:35:40 -0500 (EST) |
branch: elpa/org-superstar
commit 03be6c0a3081c46a59b108deb8479ee24a6d86c0
Author: D. Williams <d.williams@posteo.net>
Commit: D. Williams <d.williams@posteo.net>
Remove now redundant call to org-element-lineage, version bump.
Since SRC blocks are the only case (I'm aware of) where Org syntax
fundamentally changes it is clearer to use org-in-src-block-p anyway.
See PR #34 for context.
---
org-superstar.el | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/org-superstar.el b/org-superstar.el
index 337621fd0f..fe0f8a70a2 100644
--- a/org-superstar.el
+++ b/org-superstar.el
@@ -5,7 +5,7 @@
;; Author: D. Williams <d.williams@posteo.net>
;; Maintainer: D. Williams <d.williams@posteo.net>
;; Keywords: faces, outlines
-;; Version: 1.5.0
+;; Version: 1.5.1
;; Homepage: https://github.com/integral-dw/org-superstar-mode
;; Package-Requires: ((org "9.1.9") (emacs "26.1"))
@@ -626,21 +626,17 @@ replaced by their corresponding entry in
‘org-superstar-item-bullet-alist’."
;;; Predicates
-;; ‘org-list-in-valid-context-p’ is currently not working.
-;; Explicitly returning t is redundant, but does not leak information
-;; about how the predicate is implemented.
+;; ‘org-list-in-valid-context-p’ is currently not working.
(defun org-superstar-plain-list-p ()
- "Return t if the current match is a proper plain list.
+ "Return non-nil if the current match is a proper plain list.
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
(save-match-data
- (and (not (org-in-src-block-p))
- (org-element-lineage (org-element-at-point)
- '(plain-list) t)))))
+ (not (org-in-src-block-p)))))
(defun org-superstar-headline-or-inlinetask-p ()
"Return t if the current match is a proper headline or inlinetask."
- [nongnu] elpa/org-superstar abb8e863a1 109/162: Fix: Make org-superstar-headline-p non-interactive, (continued)
- [nongnu] elpa/org-superstar abb8e863a1 109/162: Fix: Make org-superstar-headline-p non-interactive, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 2eed7bd4fe 098/162: Removed redundant sentence., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 09ddc28383 108/162: Fixed an unescaped paren in docstring., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 9ee98125bf 121/162: Working around GitHub README strangeness, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 9c85b9eace 117/162: Create issue template: bug report, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 61896d5bcd 125/162: Updating README on volatile., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar c3955469d5 134/162: Updating feature list., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 8bfe6354d9 138/162: Updated documentation to address Issue #21., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar d0cb2f4b9f 150/162: Merge branch 'hide-all-todo-keywords' of andersjohansson, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar f14dd4dc8b 151/162: Fixed logic errors I introduced with last merge., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 03be6c0a30 162/162: Remove now redundant call to org-element-lineage, version bump.,
Stefan Kangas <=
- [nongnu] elpa/org-superstar 4a4ae121c1 061/162: Add further documentation regarding org-indent-mode., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 457b6cdb49 019/162: Updating README to include new features., Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar fe061dce0c 043/162: added simple batch mode based unit tests for font lock, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar c70360d76b 028/162: Adding "test image" face-test.el, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 5614c01993 081/162: fixed typo in README, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar d4948eb213 032/162: Updated README, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 45719ffd10 022/162: added a marker for melpa review, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar b196dc10af 025/162: adding first draft of public testing facilities, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 086ab28506 075/162: Updating Roadmap, Stefan Kangas, 2021/12/31
- [nongnu] elpa/org-superstar 4965e70c75 036/162: added reference for default headline fontification, Stefan Kangas, 2021/12/31