Add helper functions to org-bibtex
commit1918731fdf22dadaa8c8f6ebeb74c66f0e4690cb
authorMatt Lundin <mdl@imapmail.org>
Sun, 1 May 2011 21:01:59 +0000 (1 17:01 -0400)
committerEric Schulte <schulte.eric@gmail.com>
Mon, 2 May 2011 17:23:11 +0000 (2 11:23 -0600)
tree9994c5b455a3ba2d8feb94fd7d36fd032553e3bb
parent3c148beeb7e2ab4031a5bd6d9515df0200dfb7bb
Add helper functions to org-bibtex

* lisp/org-bibtex.el: (org-bibtex-search): New function.
  (org-bibtex-export-to-kill-ring): New function. Export to kill ring.
  (org-bibtex-create-in-current-entry): New function
  (org-bibtex-create): Make it easier to add bib fields to an
  existing headline
  (org-bibtex-export-arbitrary-fields)
  (org-bibtex-treat-headline-as-title): Fix typos
  (org-bibtex-fleshout): Don't upcase optional field; remove ":" from
  type completion

This patch implements several helper functions: exporting to kill
ring, searching only for entries with bib fields, and creating bib
fields in an existing headline. It makes the UI of org-bibtex-fleshout
more consistent.
lisp/org-bibtex.el