From: John Kitchin Date: Mon, 2 Feb 2015 14:02:01 +0000 (-0500) Subject: fix bug in missing bibtex file arg X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=commitdiff_plain;h=f401452f60e5a8458d70b1fc5bd5e920ff599356 fix bug in missing bibtex file arg --- diff --git a/doi-utils.org b/doi-utils.org index ada477c..7a22e75 100644 --- a/doi-utils.org +++ b/doi-utils.org @@ -949,7 +949,7 @@ The idea here is to perform a query on Crossref, get a helm buffer of candidates ;; just return the candidate (action . (("Insert bibtex entry" . (lambda (doi) (doi-utils-add-bibtex-entry-from-doi - (replace-regexp-in-string "^http://dx.doi.org/" "" doi)))) + (replace-regexp-in-string "^http://dx.doi.org/" "" doi) ,bibtex-file))) ("Open url" . (lambda (doi) (browse-url doi)))))))) (helm :sources '(source)))))