]> git.donarmstrong.com Git - org-ref.git/blobdiff - doi-utils.org
fix bug in missing bibtex file arg
[org-ref.git] / doi-utils.org
index ada477c515f10d68ad867bc3fb980628cbdf99af..7a22e75452ba174a164791592dfa1987ff7d98f9 100644 (file)
@@ -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)))))