From 67304db17df7a80ff0dd2963801d32f4e38dfcff Mon Sep 17 00:00:00 2001 From: John Kitchin Date: Mon, 2 Feb 2015 21:46:43 -0500 Subject: [PATCH] add label and ref coloring --- org-ref.org | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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-_:]*,?\\)*")) -- 2.39.2