diff options
author | Aaron Ecay <aaronecay@gmail.com> | 2013-03-05 23:07:01 -0500 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2013-03-06 09:03:38 +0100 |
commit | 8f7b95091e4470dbb71337bea79e88c14e7ffc67 (patch) | |
tree | f9cc9c72c5a93f7203293539f568e291c946200a | |
parent | 733697a7790ab6f1cc5b155c206a14443054883e (diff) | |
download | org-mode-8f7b95091e4470dbb71337bea79e88c14e7ffc67.tar.gz |
* 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.
-rw-r--r-- | lisp/org.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el index 3959c17..a769a04 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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 'date lk) '(org-activate-dates (0 'org-date t))) (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)) '(org-hide-wide-columns (0 nil append)) ;; TODO keyword |