auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

main acb4b12a 1/2: ; Fix error message


From: Arash Esbati
Subject: main acb4b12a 1/2: ; Fix error message
Date: Thu, 12 Sep 2024 16:12:12 -0400 (EDT)

branch: main
commit acb4b12a3ea5ae990ee865abe4e94726498227e8
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]