Browse Source

Merge branch 'bugfix'

Nicolas Goaziou 3 năm trước cách đây
mục cha
commit
8ddd95e5a3
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      lisp/oc-csl.el

+ 2 - 1
lisp/oc-csl.el

@@ -284,7 +284,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.