oc-csl: Improve an error message

* lisp/oc-csl.el (org-cite-csl--style-file): Add missing placeholder
for format string.
This commit is contained in:
Nicolas Goaziou 2021-10-11 11:21:00 +02:00
parent 3bb0cb9398
commit eb40091929
1 changed files with 1 additions and 1 deletions

View File

@ -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.