X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=blobdiff_plain;f=org-ref.org;h=e0ce7436c73dad8003305084649947cb302bab0a;hp=f01473b388c5fa6f1f25db89eb1b6d638ab5f4c2;hb=dbf4fc3bfed591ebffab129abc3ad6359bea97fa;hpb=3dfba2deeaf9c0690527f9a351798af6bdb140ba diff --git a/org-ref.org b/org-ref.org index f01473b..e0ce743 100644 --- a/org-ref.org +++ b/org-ref.org @@ -412,7 +412,7 @@ label:test (defcustom org-ref-label-color - "black" + "dark magenta" "Color of label links" :group 'org-ref) @@ -452,6 +452,7 @@ label:test `((t (:inherit org-link :foreground ,org-ref-ref-color))) "Face for ref links in org-ref.") + (defun org-ref-colorize-links () "Colorize org-ref links." (hi-lock-mode 1) @@ -459,6 +460,7 @@ label:test (highlight-regexp org-ref-label-re 'org-ref-label-face) (highlight-regexp org-ref-ref-re 'org-ref-ref-face)) + (when org-ref-colorize-links (add-hook 'org-mode-hook 'org-ref-colorize-links)) #+END_SRC