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
This commit is contained in:
Daniel Fleischer 2022-05-10 08:22:56 +03:00
parent 0b07b30dea
commit aea24b3fea
1 changed files with 1 additions and 2 deletions

View File

@ -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