Преглед на файлове

oc-csl: Improve an error message

* lisp/oc-csl.el (org-cite-csl--style-file): Add missing placeholder
for format string.
Nicolas Goaziou преди 4 години
родител
ревизия
eb40091929
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lisp/oc-csl.el

+ 1 - 1
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.