A few HTML <code></code> tags made it into the Texinfo documentation a
long time ago. Still readable but this patch replaces them with @code{}
so they are formatted properly.

Collin

>From 1f7685e9950985569cdd0c6a734c847f29929e3f Mon Sep 17 00:00:00 2001
From: Collin Funk <collin.fu...@gmail.com>
Date: Sat, 27 Jul 2024 14:15:33 -0700
Subject: [PATCH] doc: Remove HTML code tags from Texinfo files.

* doc/posix-functions/alarm.texi (alarm): Use @code{} instead of
<code></code>.
* doc/posix-headers/sys_un.texi (sys/un.h): Likewise.
---
 ChangeLog                      | 5 +++++
 doc/posix-functions/alarm.texi | 4 ++--
 doc/posix-headers/sys_un.texi  | 2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 27985101ae..2b0b7425bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2024-07-27  Collin Funk  <collin.fu...@gmail.com>
 
+	doc: Remove HTML code tags from Texinfo files.
+	* doc/posix-functions/alarm.texi (alarm): Use @code{} instead of
+	<code></code>.
+	* doc/posix-headers/sys_un.texi (sys/un.h): Likewise.
+
 	maintainer-makefile: Fix yesterdays #include <...> change.
 	* top/maint.mk (gl_prefer_angle_bracket_headers_): Remove files that
 	don't include #include_next. Sort using the C locale.
diff --git a/doc/posix-functions/alarm.texi b/doc/posix-functions/alarm.texi
index 2f475971ef..39de5f25a9 100644
--- a/doc/posix-functions/alarm.texi
+++ b/doc/posix-functions/alarm.texi
@@ -13,8 +13,8 @@ @node alarm
 Portability problems not fixed by Gnulib:
 @itemize
 @item
-This function has no impact if <code>SIGALRM</code> is inherited as
-ignored; programs should use <code>signal (SIGALRM, SIG_DFL)</code> if
+This function has no impact if @code{SIGALRM} is inherited as
+ignored; programs should use @code{signal (SIGALRM, SIG_DFL)} if
 it is important to ensure the alarm will fire.
 @item
 Use of this function in multi-threaded applications is not advised.
diff --git a/doc/posix-headers/sys_un.texi b/doc/posix-headers/sys_un.texi
index 61affda2c6..79d4a38433 100644
--- a/doc/posix-headers/sys_un.texi
+++ b/doc/posix-headers/sys_un.texi
@@ -18,7 +18,7 @@ @node sys/un.h
 Portability problems not fixed by Gnulib:
 @itemize
 @item
-This header requires <code>sys/socket.h</code> to be included first on
+This header requires @code{sys/socket.h} to be included first on
 some platforms:
 Cygwin 1.7.18.
 @end itemize
-- 
2.45.2

Reply via email to