]> git.donarmstrong.com Git - org-ref.git/blobdiff - org-ref.org
spacing and punctuation in doc strings.
[org-ref.git] / org-ref.org
index 148e98cd836f84634d4897f8eae631ef901454df..b18d442f494cd8ce342c99dc41287352c97fc823 100644 (file)
@@ -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-_:]*,?\\)*"))
 
 
@@ -434,15 +437,18 @@ label:test
 
 (defface org-ref-cite-face
   `((t (:inherit org-link :foreground ,org-ref-cite-color)))
-  "Color for cite links")
+  "Color for cite-like links in org-ref.")
+
 
 (defface org-ref-label-face
   `((t (:inherit org-link :foreground ,org-ref-label-color)))
-  "Color for cite links")
+  "Color for ref links in org-ref.")
+
 
 (defface org-ref-ref-face
   `((t (:inherit org-link :foreground ,org-ref-ref-color)))
-  "Color for cite links")
+  "Face for ref links in org-ref.")
+
 
 (when org-ref-colorize-links
   (highlight-regexp org-ref-cite-re 'org-ref-cite-face)