]> git.donarmstrong.com Git - org-ref.git/commitdiff
slight modification of re link regexp to include eqref
authorJohn Kitchin <jkitchin@andrew.cmu.edu>
Sun, 15 Mar 2015 18:43:28 +0000 (14:43 -0400)
committerJohn Kitchin <jkitchin@andrew.cmu.edu>
Sun, 15 Mar 2015 18:43:28 +0000 (14:43 -0400)
org-ref.el

index 27d04f88994df22173a7456affe85afbef88e62b..939b8ee7102ee218574b0fac89f6616c3ec2177f 100644 (file)
@@ -334,7 +334,7 @@ You will see a message in the minibuffer when on a cite, ref or label link."
 
 
 (setq org-ref-ref-re
 
 
 (setq org-ref-ref-re
-      "ref:\\([a-zA-Z0-9-_:]*,?\\)*")
+      "\\(eq\\)?ref:\\([a-zA-Z0-9-_:]*,?\\)*")
 
 
 (defface org-ref-cite-face
 
 
 (defface org-ref-cite-face
@@ -1753,7 +1753,7 @@ get a lot of options.  LINK-STRING is used by the link function."
          choice
          2))))))
 
          choice
          2))))))
 
-;; ** Generation of the cite links
+;; *** Generation of the cite links
 (defmacro org-ref-make-completion-function (type)
   "Macro to make a link completion function for a link of TYPE."
   `(defun ,(intern (format "org-%s-complete-link" type)) (&optional arg)
 (defmacro org-ref-make-completion-function (type)
   "Macro to make a link completion function for a link of TYPE."
   `(defun ,(intern (format "org-%s-complete-link" type)) (&optional arg)