diff options
author | Christophe Junke <christophe.junke@inria.fr> | 2012-11-16 18:08:07 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-11-16 18:19:47 +0100 |
commit | 60abb38ee3825f4f440ed7cd0c05d40fd70961bf (patch) | |
tree | 8a4b1c91aeccd95b0089d9685ead49a27af5bfda | |
parent | b46b5d1c44017d44b68c88fdc0669becd03af4e0 (diff) | |
download | org-mode-60abb38ee3825f4f440ed7cd0c05d40fd70961bf.tar.gz |
Change fontification order for links
* lisp/org.el (org-set-font-lock-defaults): let footnote fontifications
be done before other links' fontification. This allows links appearing
inside footnotes to be both visible and active.
TINYCHANGE
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 080b527..44f6b67 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5793,13 +5793,13 @@ needs to be inserted at a specific position in the font-lock sequence.") '(1 'org-special-keyword t) '(3 'org-property-value t)) ;; Links + (if (memq 'footnote lk) '(org-activate-footnote-links)) (if (memq 'tag lk) '(org-activate-tags (1 'org-tag prepend))) (if (memq 'angle lk) '(org-activate-angle-links (0 'org-link t))) (if (memq 'plain lk) '(org-activate-plain-links)) (if (memq 'bracket lk) '(org-activate-bracket-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 'footnote lk) '(org-activate-footnote-links)) '("^&?%%(.*\\|<%%([^>\n]*?>" (0 'org-sexp-date t)) '(org-hide-wide-columns (0 nil append)) ;; TODO keyword |