branch: main commit acb4b12a3ea5ae990ee865abe4e94726498227e8 Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@gnu.org>
; Fix error message * latex.el (LaTeX-keyval-caption-reftex-context-function): Fix error message. --- latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latex.el b/latex.el index 94801b00..f03dc1dc 100644 --- a/latex.el +++ b/latex.el @@ -9473,7 +9473,7 @@ no caption key is found, an error is issued. See also the docstring of (setq capt-end (progn (skip-chars-forward "^,") (point))))) ;; Return the extracted string (buffer-substring-no-properties capt-start capt-end)) - (error "No caption found")))) + (error "%s" "No caption found")))) (defvar LaTeX-font-family '("normalfont" "rmfamily" "sffamily" "ttfamily")