branch: elpa/org-superstar commit 0a2dedc91f9e79e5f8414609cb6e6a18c30b7199 Author: D. Williams <d.willi...@posteo.net> Commit: D. Williams <d.willi...@posteo.net>
Fix typo in org-superstar-plain-list-p causing it to always return t. --- org-superstar.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/org-superstar.el b/org-superstar.el index 99d0e29580..ccf0caef09 100644 --- a/org-superstar.el +++ b/org-superstar.el @@ -5,7 +5,7 @@ ;; Author: D. Williams <d.willi...@posteo.net> ;; Maintainer: D. Williams <d.willi...@posteo.net> ;; Keywords: faces, outlines -;; Version: 1.2.0 +;; Version: 1.2.1 ;; Homepage: https://github.com/integral-dw/org-superstar-mode ;; Package-Requires: ((org "9.1.9") (emacs "26.1")) @@ -480,10 +480,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 - (save-match-data - (org-element-lineage (org-element-at-point) - '(plain-list) t)) - t)) + (and (save-match-data + (org-element-lineage (org-element-at-point) + '(plain-list) t)) + t))) (defun org-superstar-headline-or-inlinetask-p () "Return t if the current match is a proper headline or inlinetask."