Dear all,

I offer a small patch.

--
With Valediction,
Kamila Szewczyk (https://iczelia.net)
From: Kamila Szewczyk <[email protected]>
Subject: [PATCH] texinfo.tex (\listoffloats): fix warning for an empty list

2026-10-21  Kamila Szewczyk  <[email protected]>

	* doc/texinfo.tex (\listoffloats): Do not use the undefined
	\No in the warning for a float type with no floats; reword
	the warning as "no floats to list for type: TYPE".
---
--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -10337,7 +10337,7 @@
   \expandafter\ifx\csname floatlist\safefloattype\endcsname \relax
     \ifhavexrefs
       % if the user said @listoffloats foo but never @float foo.
-      \txiwarning{\No `\safefloattype' floats to list.}%
+      \txiwarning{no floats to list for type: \safefloattype}%
     \fi
   \else
     \begingroup

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to