forked from mirrors/org-mode
oc-csl: "Barf" functions should actually barf
* lisp/oc-csl.el (org-cite-csl--barf-without-citeproc): Actually raise an error, as expected from the docstring.
This commit is contained in:
parent
413afbe210
commit
afc5ec2187
|
@ -283,7 +283,8 @@ Label is in match group 1.")
|
|||
;;; Internal functions
|
||||
(defun org-cite-csl--barf-without-citeproc ()
|
||||
"Raise an error if Citeproc library is not loaded."
|
||||
(unless (featurep 'citeproc) "Citeproc library is not loaded"))
|
||||
(unless (featurep 'citeproc)
|
||||
(error "Citeproc library is not loaded")))
|
||||
|
||||
(defun org-cite-csl--note-style-p (info)
|
||||
"Non-nil when bibliography style implies wrapping citations in footnotes.
|
||||
|
|
Loading…
Reference in a new issue