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 ada477c..7a22e75 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)))))