From 69ab667727efbadc442799ffbd39d50a1fbe92c3 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 15 Mar 2025 19:26:31 +0100 Subject: [PATCH] Use substitute-quotes for checkdoc errors * lisp/emacs-lisp/checkdoc.el (checkdoc-create-error): Use substitute-quotes. (cherry picked from commit dec21bcc9997780a9c56e4eb7f718fd64d8c32ec) --- lisp/emacs-lisp/checkdoc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el index e772c3035c3..7dd0984b541 100644 --- a/lisp/emacs-lisp/checkdoc.el +++ b/lisp/emacs-lisp/checkdoc.el @@ -1265,7 +1265,7 @@ generating a buffered list of errors.") "Used to create the return error text returned from all engines. TEXT, START, END and FIX conform to `checkdoc-create-error-function', which see." - (funcall checkdoc-create-error-function text start end fix)) + (funcall checkdoc-create-error-function (substitute-quotes text) start end fix)) (defun checkdoc--create-error-for-checkdoc (text start end &optional fix) "Create an error for Checkdoc. -- 2.39.5