Function: org-bibtex-import-from-file

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

Signature

(org-bibtex-import-from-file FILE)

Documentation

Read bibtex entries from FILE and insert as Org headlines after point.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/ol-bibtex.el.gz
(defun org-bibtex-import-from-file (file)
  "Read bibtex entries from FILE and insert as Org headlines after point."
  (interactive "fFile: ")
  (let ((pos (point)))
    (dotimes (_ (org-bibtex-read-file file))
      (save-excursion (org-bibtex-write 'noindent))
      (re-search-forward org-property-end-re)
      (insert "\n"))
    (org-indent-region pos (point))))