From: John Kitchin Date: Tue, 3 Feb 2015 02:46:43 +0000 (-0500) Subject: add label and ref coloring X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=commitdiff_plain;h=67304db17df7a80ff0dd2963801d32f4e38dfcff add label and ref coloring --- diff --git a/org-ref.org b/org-ref.org index 148e98c..a2324c4 100644 --- a/org-ref.org +++ b/org-ref.org @@ -396,7 +396,6 @@ label:test "When non-nil, change colors of links" :group 'org-ref) - (defcustom org-ref-cite-color "forest green" "Color of cite like links" @@ -420,7 +419,11 @@ label:test (setq org-ref-cite-re - (concat "\\(" (mapconcat 'identity org-ref-cite-types "\\|") "\\)" + (concat "\\(" (mapconcat + (lambda (x) + (replace-regexp-in-string "\*" "\\\\*" x) + ) + org-ref-cite-types "\\|") "\\)" ":\\([a-zA-Z0-9-_:]*,?\\)*"))