org-bibtex: Mark filename argument as required

* lisp/org-bibtex.el (org-bibtex): Mark FILENAME argument as required
  because, when called from Lisp, the function does not provide a
  default file name when FILENAME is nil, leading to a type error.
This commit is contained in:
Kyle Meyer 2016-01-13 00:16:07 -05:00
parent 32ccc854cf
commit abb9a0f88a
1 changed files with 1 additions and 1 deletions

View File

@ -549,7 +549,7 @@ With optional argument OPTIONAL, also prompt for optional fields."
;;; Bibtex <-> Org-mode headline translation functions
(defun org-bibtex (&optional filename)
(defun org-bibtex (filename)
"Export each headline in the current file to a bibtex entry.
Headlines are exported using `org-bibtex-headline'."
(interactive