* lisp/org.el (org-set-font-lock-defaults): include link targets

The org-target face is created in org-faces.el, but never used for
font-locking.  This patch fixes that.
This commit is contained in:
Aaron Ecay 2013-03-05 23:07:01 -05:00 committed by Nicolas Goaziou
parent 733697a779
commit 8f7b95091e
1 changed files with 3 additions and 0 deletions

View File

@ -6056,6 +6056,9 @@ 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 'radio lk) '(org-activate-target-links (0 'org-link t)))
(if (memq 'date lk) '(org-activate-dates (0 'org-date t))) (if (memq 'date lk) '(org-activate-dates (0 'org-date t)))
(if (memq 'footnote lk) '(org-activate-footnote-links)) (if (memq 'footnote lk) '(org-activate-footnote-links))
;; Targets.
(list org-any-target-regexp '(0 'org-target t))
;; Diary sexps.
'("^&?%%(.*\\|<%%([^>\n]*?>" (0 'org-sexp-date t)) '("^&?%%(.*\\|<%%([^>\n]*?>" (0 'org-sexp-date t))
'(org-hide-wide-columns (0 nil append)) '(org-hide-wide-columns (0 nil append))
;; TODO keyword ;; TODO keyword