branch: externals/org commit aea24b3feafb9c389dc5933005928462bb20c4f8 Author: Daniel Fleischer <danfl...@gmail.com> Commit: Daniel Fleischer <danfl...@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