Here is a patch to improve a docstring.  Comments welcome.

>From 916fe8e044aafea34277e1a8057cb09b4eb49f58 Mon Sep 17 00:00:00 2001
From: Jeremy Bryant <j...@jeremybryant.net>
Date: Thu, 23 May 2024 22:25:02 +0100
Subject: [PATCH] ; * latex.el (TeX-arg-savebox): Checkdoc fix, capitalize
 argument

---
 latex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/latex.el b/latex.el
index 67680cee..baedfdc8 100644
--- a/latex.el
+++ b/latex.el
@@ -2491,7 +2491,7 @@ the list of defined counters."
   "Prompt for a LaTeX savebox.
 If OPTIONAL is non-nil, insert the resulting value as an optional
 argument, otherwise as a mandatory one.  Use PROMPT as the prompt
-string.  If definition is non-nil, the savebox is added to the
+string.  If DEFINITION is non-nil, the savebox is added to the
 list of defined saveboxes."
   (let ((savebox (completing-read (TeX-argument-prompt optional prompt
                                                        (concat "Savebox: "
-- 
2.42.0

_______________________________________________
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex
  • bug#71152: ... Jeremy Bryant via bug-auctex via Bug reporting list for AUCTeX

Reply via email to