bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] texinfo.tex: remove reference to undefined macro \p


From: Andreas Schwab
Subject: [PATCH] texinfo.tex: remove reference to undefined macro \p
Date: Wed, 16 May 2012 13:19:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.96 (gnu/linux)

\skipspaces uses the macro \p which is never defined.  While I think
this was really meant to compare \PP with \space, it serves no purpose,
since TeX already skips spaces when collecting undelimited arguments.

Andreas.

2012-05-16  Andreas Schwab  <address@hidden>

        * doc/texinfo.tex (\skipspaces): Remove reference to undefined
        macro \p.
---
 doc/texinfo.tex |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index e4dca02..5891ceb 100644
--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -3,7 +3,7 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{2012-04-06.11}
+\def\texinfoversion{2012-05-16.13}
 %
 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -1367,9 +1367,8 @@ output) for that.)}
   \def\skipspaces#1{\def\PP{#1}\def\D{|}%
     \ifx\PP\D\let\nextsp\relax
     \else\let\nextsp\skipspaces
-      \ifx\p\space\else\addtokens{\filename}{\PP}%
-        \advance\filenamelength by 1
-      \fi
+      \addtokens{\filename}{\PP}%
+      \advance\filenamelength by 1
     \fi
     \nextsp}
   \def\getfilename#1{%
-- 
1.7.10.2

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]