]> git.donarmstrong.com Git - org-ref.git/commitdiff
fixing a missing paren typo
authorJohn Kitchin <jkitchin@andrew.cmu.edu>
Mon, 16 Mar 2015 00:21:32 +0000 (20:21 -0400)
committerJohn Kitchin <jkitchin@andrew.cmu.edu>
Mon, 16 Mar 2015 00:21:32 +0000 (20:21 -0400)
I am not sure how this got introduced.

org-ref.el

index 240adda8562d2f43b4a055d4a11727d33e289c3b..cc3ac5f65ef84530de44d446168f60b0b8cb1e8f 100644 (file)
@@ -992,10 +992,8 @@ ARG does nothing."
    "on clicking goto the label. Navigate back with C-c &"
    (org-mark-ring-push)
    ;; next search from beginning of the buffer
-
    ;; it is possible you would not find the label if narrowing is in effect
    (widen)
-
    (unless
        (or
        ;; our label links
@@ -1011,12 +1009,14 @@ ARG does nothing."
        ;; #+label: name  org-definition
        (progn
          (goto-char (point-min))
-         (re-search-forward (format "^#\\+label:\\s-*\\(%s\\)\\b" label) nil t))
+         (re-search-forward
+          (format "^#\\+label:\\s-*\\(%s\\)\\b" label) nil t))
 
        ;; org tblname
        (progn
          (goto-char (point-min))
-         (re-search-forward (format "^#\\+tblname:\\s-*\\(%s\\)\\b" label) nil t))
+         (re-search-forward
+          (format "^#\\+tblname:\\s-*\\(%s\\)\\b" label) nil t)))
 
      ;; we did not find anything, so go back to where we came
      (org-mark-ring-goto)