forked from mirrors/org-mode
org-faces: Use regexp-opt in org-set-tag-faces
* org-faces.el (org-set-tag-faces): Use appropriate call to regexp-opt TINYCHANGE
This commit is contained in:
parent
7c00e4fbd8
commit
4761fab2ff
|
@ -311,7 +311,7 @@ determines if it is a foreground or a background color."
|
|||
(if (not value)
|
||||
(setq org-tags-special-faces-re nil)
|
||||
(setq org-tags-special-faces-re
|
||||
(concat ":\\(" (mapconcat 'car value "\\|") "\\):"))))
|
||||
(concat ":" (regexp-opt (mapcar #'car value) t) ":"))))
|
||||
|
||||
(defface org-checkbox '((t :inherit bold))
|
||||
"Face for checkboxes."
|
||||
|
|
Loading…
Reference in a new issue