From 58fd166f1926763e771abd0e3fee990a7e866d40 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 27 Dec 2024 10:46:26 +0100 Subject: [PATCH] doc: Improve an external reference. * doc/zprintf.texi: For an external reference, use @url when not producing an info file. --- ChangeLog | 6 ++++++ doc/zprintf.texi | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b2ae02ce86..e0b33c1ed1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-12-27 Bruno Haible + + doc: Improve an external reference. + * doc/zprintf.texi: For an external reference, use @url when not + producing an info file. + 2024-12-26 Simon Josefsson gitlog-to-changelog: Handle srcdir!=builddir builds. diff --git a/doc/zprintf.texi b/doc/zprintf.texi index 6b39a89f33..bdbd368853 100644 --- a/doc/zprintf.texi +++ b/doc/zprintf.texi @@ -62,8 +62,15 @@ The problem is that @code{EOVERFLOW} is not handled, even with such wrappers. Should @code{EOVERFLOW} be handled like @code{ENOMEM}, by aborting the program? No, as mentioned above, that would be an arbitrary limitation, which the -GNU Coding Standards urge us to avoid -(@pxref{Semantics,,, standards, GNU Coding Standards}). +@ifinfo +GNU Coding Standards +urge us to avoid +(@pxref{Semantics,,, standards}). +@end ifinfo +@ifnotinfo +@url{https://www.gnu.org/prep/standards/html_node/Semantics.html,,GNU Coding Standards} +urge us to avoid. +@end ifnotinfo @subheading The solution -- 2.39.5