mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 11:32:51 +00:00
Merge branch 'bugfix'
This commit is contained in:
commit
34ee6f1a21
|
@ -765,7 +765,10 @@ drawer."
|
||||||
"If kill ring holds a bibtex entry yank it as an Org headline."
|
"If kill ring holds a bibtex entry yank it as an Org headline."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let (entry)
|
(let (entry)
|
||||||
(with-temp-buffer (yank 1) (setf entry (org-bibtex-read)))
|
(with-temp-buffer
|
||||||
|
(yank 1)
|
||||||
|
(bibtex-mode)
|
||||||
|
(setf entry (org-bibtex-read)))
|
||||||
(if entry
|
(if entry
|
||||||
(org-bibtex-write)
|
(org-bibtex-write)
|
||||||
(error "Yanked text does not appear to contain a BibTeX entry"))))
|
(error "Yanked text does not appear to contain a BibTeX entry"))))
|
||||||
|
|
Loading…
Reference in a new issue