Created
September 16, 2013 03:25
-
-
Save mardukbp/6576418 to your computer and use it in GitHub Desktop.
Import citation in bibtex format from journal's website to ebib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'mm-url) | |
(defun ebib-import-bibtex (url) | |
(interactive) | |
(let ((tempbuff (get-buffer-create "*bibtex*"))) | |
(with-current-buffer tempbuff | |
(mm-url-insert-file-contents url) | |
(ebib-import) | |
(kill-buffer (current-buffer)) | |
) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BTW, you can write
(with-temp-buffer (some code))
instead of