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

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

[nongnu] elpa/org-superstar d0cb2f4b9f 150/162: Merge branch 'hide-all-t


From: Stefan Kangas
Subject: [nongnu] elpa/org-superstar d0cb2f4b9f 150/162: Merge branch 'hide-all-todo-keywords' of andersjohansson
Date: Fri, 31 Dec 2021 19:35:39 -0500 (EST)

branch: elpa/org-superstar
commit d0cb2f4b9fee8ed5d2a741962e376c1c610fc6e7
Merge: 806b699b7d 3efb5f76cb
Author: D. Williams <d.williams@posteo.net>
Commit: D. Williams <d.williams@posteo.net>

    Merge branch 'hide-all-todo-keywords' of andersjohansson
---
 org-superstar.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/org-superstar.el b/org-superstar.el
index 1aead5f82c..60fdf5ee47 100644
--- a/org-superstar.el
+++ b/org-superstar.el
@@ -524,6 +524,8 @@ the current keyword, return nil."
               (todo-bullet
                (cdr (org-superstar--todo-assoc todo-kw))))
     (cond
+     ((and todo-kw (eq org-superstar-special-todo-items 'hide))
+      'hide)
      ((characterp todo-bullet)
       todo-bullet)
      ((listp todo-bullet)
@@ -559,7 +561,7 @@ See also ‘org-superstar-cycle-headline-bullets’."
         (todo-bullet (when org-superstar-special-todo-items
                        (org-superstar--todo-bullet))))
     (cond (todo-bullet
-           (unless (eq org-superstar-special-todo-items 'hide)
+           (unless (eq todo-bullet 'hide)
              todo-bullet))
           ((integerp max-bullets)
            (org-superstar--nth-headline-bullet (% n max-bullets)))



reply via email to

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