texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp/Texinfo/Convert Text.pm


From: Patrice Dumas
Subject: texinfo/tp/Texinfo/Convert Text.pm
Date: Sun, 27 Mar 2011 15:38:33 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        11/03/27 15:38:33

Modified files:
        tp/Texinfo/Convert: Text.pm 

Log message:
        Avoid code duplication.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Text.pm?cvsroot=texinfo&r1=1.34&r2=1.35

Patches:
Index: Text.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Text.pm,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- Text.pm     24 Mar 2011 00:51:56 -0000      1.34
+++ Text.pm     27 Mar 2011 15:38:33 -0000      1.35
@@ -531,29 +531,7 @@
 our %formatting_misc_commands;
 foreach my $command ('sp', 'center', 'exdent', 
                      'item', 'itemx', 'tab', 'headitem',
-    'node',
-    'top',
-    'chapter',
-    'unnumbered',
-    'chapheading',
-    'appendix',
-    'section',
-    'unnumberedsec',
-    'heading',
-    'appendixsec',
-    'subsection',
-    'unnumberedsubsec',
-    'subheading',
-    'appendixsubsec',
-    'subsubsection',
-    'unnumberedsubsubsec',
-    'subsubheading',
-    'appendixsubsubsec',
-    'part',
-    'appendixsection',
-    'majorheading',
-    'chapheading',
-    'centerchap') {
+    'node', keys(%Texinfo::Common::sectioning_commands)) {
   $formatting_misc_commands{$command} = 1;
 }
  



reply via email to

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