]> git.donarmstrong.com Git - org-ref.git/commitdiff
fix bug in missing bibtex file arg
authorJohn Kitchin <jkitchin@andrew.cmu.edu>
Mon, 2 Feb 2015 14:02:01 +0000 (09:02 -0500)
committerJohn Kitchin <jkitchin@andrew.cmu.edu>
Mon, 2 Feb 2015 14:02:01 +0000 (09:02 -0500)
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
                     ;; 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)))))
                                ("Open url" . (lambda (doi)
                                                (browse-url doi))))))))
       (helm :sources '(source)))))