0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-16 16:46:26 +00:00

Merge branch 'bugfix'

This commit is contained in:
Ihor Radchenko 2023-08-13 19:24:50 +03:00
commit 34ee6f1a21
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

@ -765,7 +765,10 @@ drawer."
"If kill ring holds a bibtex entry yank it as an Org headline."
(interactive)
(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
(org-bibtex-write)
(error "Yanked text does not appear to contain a BibTeX entry"))))