From 828c6fdc6640c263e054136431ce74680970da11 Mon Sep 17 00:00:00 2001 From: John Kitchin Date: Mon, 26 Jan 2015 16:53:29 -0500 Subject: [PATCH] fix bug in bibliography message --- org-ref.org | 2 -- 1 file changed, 2 deletions(-) diff --git a/org-ref.org b/org-ref.org index 40a2940..04746fe 100644 --- a/org-ref.org +++ b/org-ref.org @@ -3133,13 +3133,11 @@ To get a lighter weight message about the label, ref and cite links, we define a ;; we find the one clicked on. we want to ;; search forward to next comma from point (save-excursion - (goto-char link-string-beginning) (if (search-forward "," link-string-end 1 1) (setq key-end (- (match-end 0) 1)) ; we found a match (setq key-end (point)))) ; no comma found so take the point ;; and backward to previous comma from point (save-excursion - (goto-char link-string-beginning) (if (search-backward "," link-string-beginning 1 1) (setq key-beginning (+ (match-beginning 0) 1)) ; we found a match (setq key-beginning (point)))) ; no match found -- 2.39.2