branch: externals-release/org
commit eb400919292d96f97f64ade6d6a7b2ced6c8db65
Author: Nicolas Goaziou <[email protected]>
Commit: Nicolas Goaziou <[email protected]>
oc-csl: Improve an error message
* lisp/oc-csl.el (org-cite-csl--style-file): Add missing placeholder
for format string.
---
lisp/oc-csl.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/oc-csl.el b/lisp/oc-csl.el
index 89719d3..d01d21e 100644
--- a/lisp/oc-csl.el
+++ b/lisp/oc-csl.el
@@ -372,7 +372,7 @@ or raise an error if the variable is unset."
((and (guard org-cite-csl-styles-dir) file)
(expand-file-name file org-cite-csl-styles-dir))
(other
- (user-error "Cannot handle relative style file name" other))))
+ (user-error "Cannot handle relative style file name: %S" other))))
(defun org-cite-csl--locale-getter ()
"Return a locale getter.