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

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

[elpa] externals/org aea24b3fea: lisp/org.el: Fast tag selection disable


From: ELPA Syncer
Subject: [elpa] externals/org aea24b3fea: lisp/org.el: Fast tag selection disabled tag face
Date: Tue, 10 May 2022 01:57:43 -0400 (EDT)

branch: externals/org
commit aea24b3feafb9c389dc5933005928462bb20c4f8
Author: Daniel Fleischer <danflscr@gmail.com>
Commit: Daniel Fleischer <danflscr@gmail.com>

    lisp/org.el: Fast tag selection disabled tag face
    
    * lisp/org.el (org-fast-tag-selection): Disabled tags face
    
    A tag can be either selected in "current", "inherited" or disabled. When
    disabled, it should have the default face. Previously, if a tag was
    already selected, when deselection it will still have an org-todo face.
    
    https://lists.gnu.org/archive/html/emacs-orgmode/2021-10/msg00350.html
---
 lisp/org.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index cab59b87cb..48d992d9ed 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -11687,8 +11687,7 @@ Returns the new tags string, or nil to not change the 
current settings."
                               (cond
                                ((member tag current) c-face)
                                ((member tag inherited) i-face)
-                               (t (get-text-property (match-beginning 1) '
-                                                     face))))))))
+                               (t 'default)))))))
                  (goto-char (point-min)))))
        (delete-overlay org-tags-overlay)
        (if rtn



reply via email to

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