From 8de0e41662daf93a630f292cc9264ee8fae6bc80 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@gnu.org>
Date: Mon, 23 Feb 1998 22:34:20 +0000
Subject: 1997-08-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* doc/texinfo.tex (xrdef): Read the second argument with \ as an
	escape character.
---
 texinfo.tex | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

(limited to 'texinfo.tex')

diff --git a/texinfo.tex b/texinfo.tex
index f1d7d4f..d8c6bbd 100644
--- a/texinfo.tex
+++ b/texinfo.tex
@@ -4406,10 +4406,13 @@ width0pt\relax} \fi
 }
 
 % This is the macro invoked by entries in the aux file.
-\def\xrdef #1#2{{%
-  \catcode`\'=\other
-  \expandafter\gdef\csname X#1\endcsname{#2}%
-}}
+% 
+\def\xrdef#1{\begingroup
+  % Reenable \ as an escape while reading the second argument.
+  \catcode`\\ = 0
+  \afterassignment\endgroup
+  \expandafter\gdef\csname X#1\endcsname
+}
 
 % Read the last existing aux file, if any.  No error if none exists.
 \def\readauxfile{\begingroup
-- 
cgit v1.2.3

