Преглед изворни кода

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
Daniel Fleischer пре 3 година
родитељ
комит
aea24b3fea
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      lisp/org.el

+ 1 - 2
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