[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org afc5ec2: oc-csl: "Barf" functions should ac
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org afc5ec2: oc-csl: "Barf" functions should actually barf |
Date: |
Fri, 26 Nov 2021 06:57:26 -0500 (EST) |
branch: externals-release/org
commit afc5ec21870ad1bc508b47195d08f4422782e5b3
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>
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.
---
lisp/oc-csl.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/oc-csl.el b/lisp/oc-csl.el
index 7cd63c3..7f078d1 100644
--- a/lisp/oc-csl.el
+++ b/lisp/oc-csl.el
@@ -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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals-release/org afc5ec2: oc-csl: "Barf" functions should actually barf,
ELPA Syncer <=