Skip to content

Commit

Permalink
add save-buffer after adding entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkitchin committed Nov 29, 2022
1 parent 40bbd11 commit 26735e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doi-utils.el
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,8 @@ Get a list of possible matches. Choose one with completion."
(doi-utils-add-bibtex-entry-from-doi
(replace-regexp-in-string
"^https?://\\(dx.\\)?doi.org/" "" doi)
bibtex-file)))))
bibtex-file)
(save-buffer)))))

(defalias 'crossref-add-bibtex-entry 'doi-utils-add-entry-from-crossref-query
"Alias function for convenience.")
Expand Down

0 comments on commit 26735e9

Please sign in to comment.