The org-target face is created in org-faces.el, but never used for
font-locking.  This patch fixes that.
---
 lisp/org.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/org.el b/lisp/org.el
index 3959c17..5399177 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6056,6 +6056,8 @@ needs to be inserted at a specific position in the 
font-lock sequence.")
           (if (memq 'radio lk) '(org-activate-target-links (0 'org-link t)))
           (if (memq 'date lk) '(org-activate-dates (0 'org-date t)))
           (if (memq 'footnote lk) '(org-activate-footnote-links))
+           ;; Link targets
+           (list org-any-target-regexp '(0 'org-target t))
           '("^&?%%(.*\\|<%%([^>\n]*?>" (0 'org-sexp-date t))
           '(org-hide-wide-columns (0 nil append))
           ;; TODO keyword
-- 
1.8.1.5


Reply via email to