Function: org-bibtex-yank

org-bibtex-yank is an interactive and byte-compiled function defined in ol-bibtex.el.gz.

Signature

(org-bibtex-yank &optional UPDATE-HEADING)

Documentation

If kill ring holds a bibtex entry yank it as an Org headline.

When called with non-nil prefix argument UPDATE-HEADING, add data to the headline of the entry at point.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/ol-bibtex.el.gz
(defun org-bibtex-yank (&optional update-heading)
  "If kill ring holds a bibtex entry yank it as an Org headline.
When called with non-nil prefix argument UPDATE-HEADING, add data to the
headline of the entry at point."
  (interactive "P")
  (let (entry)
    (with-temp-buffer
      (yank 1)
      (bibtex-mode)
      (setf entry (org-bibtex-read)))
    (if entry
	(org-bibtex-write nil update-heading)
      (error "Yanked text does not appear to contain a BibTeX entry"))))