aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2025-03-15 19:26:31 +0100
committerStefan Kangas2025-03-16 13:48:11 +0100
commitdec21bcc9997780a9c56e4eb7f718fd64d8c32ec (patch)
tree3b23f788d26f5c227f739d2064e966f249622e57
parentd8d524071d78d6499278546cf13ae261c05cadf3 (diff)
downloademacs-dec21bcc9997780a9c56e4eb7f718fd64d8c32ec.tar.gz
emacs-dec21bcc9997780a9c56e4eb7f718fd64d8c32ec.zip
Use substitute-quotes for checkdoc errors
* lisp/emacs-lisp/checkdoc.el (checkdoc-create-error): Use substitute-quotes.
-rw-r--r--lisp/emacs-lisp/checkdoc.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index a45c7dd04cc..c5f1e9a6ed5 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -1283,7 +1283,8 @@ generating a buffered list of errors.")
1283 "Used to create the return error text returned from all engines. 1283 "Used to create the return error text returned from all engines.
1284TEXT, START, END and UNFIXABLE conform to 1284TEXT, START, END and UNFIXABLE conform to
1285`checkdoc-create-error-function', which see." 1285`checkdoc-create-error-function', which see."
1286 (funcall checkdoc-create-error-function text start end unfixable)) 1286 (funcall checkdoc-create-error-function
1287 (substitute-quotes text) start end unfixable))
1287 1288
1288(defun checkdoc--create-error-for-checkdoc (text start end &optional unfixable) 1289(defun checkdoc--create-error-for-checkdoc (text start end &optional unfixable)
1289 "Create an error for Checkdoc. 1290 "Create an error for Checkdoc.