From: John Kitchin Date: Mon, 16 Mar 2015 00:21:32 +0000 (-0400) Subject: fixing a missing paren typo X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=commitdiff_plain;h=26c4f6b1ac5019e41af662b592275e0fb2860f4e;ds=sidebyside fixing a missing paren typo I am not sure how this got introduced. --- diff --git a/org-ref.el b/org-ref.el index 240adda..cc3ac5f 100644 --- a/org-ref.el +++ b/org-ref.el @@ -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)