forked from mirrors/org-mode
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:
parent
0b07b30dea
commit
aea24b3fea
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue