From be826ba2b4031f0ad0e5dc34ec103d707bf13cec Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 27 Jan 2012 00:11:49 +0000
Subject: silence (26jan12)

git-svn-id: svn://tug.org/texlive/trunk@25210 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/silence/silence.sty | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'Master/texmf-dist/tex/latex/silence/silence.sty')

diff --git a/Master/texmf-dist/tex/latex/silence/silence.sty b/Master/texmf-dist/tex/latex/silence/silence.sty
index 0d6b081cb04..7139fba8732 100644
--- a/Master/texmf-dist/tex/latex/silence/silence.sty
+++ b/Master/texmf-dist/tex/latex/silence/silence.sty
@@ -343,6 +343,15 @@
     \fi
   \fi\sl@next}
 
+\def\sl@RemoveGobble#1\@gobble\sl@Terminator#2\sl@Terminator{%
+  \def\sl@Tempb{#2}%
+  \ifx\sl@Tempb\@empty
+  \else
+    \def\sl@Tempa{#1}%
+    \expandafter\@gobble
+  \fi
+  }
+
 \def\sl@RemoveGobbletwo#1\@gobbletwo\sl@Terminator#2\sl@Terminator{%
   \def\sl@Tempb{#2}%
   \ifx\sl@Tempb\@empty
@@ -361,6 +370,7 @@
     \let\protect\string
     \let\noexpand\string
     \def\sl@Tempa{#1}%
+    \sl@RemoveGobble#1\sl@Terminator\@gobble\sl@Terminator\sl@Terminator
     \sl@RemoveGobbletwo#1\sl@Terminator\@gobbletwo\sl@Terminator\sl@Terminator
     \edef\sl@Tempa{\sl@Tempa}%
     \global\expandafter\sl@Message\expandafter{\sl@Tempa}%
-- 
cgit v1.2.3

