texinfo-commits
[Top][All Lists]
Advanced

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

[8292] remove @author from list of global commands


From: gavinsmith0123
Subject: [8292] remove @author from list of global commands
Date: Tue, 16 Oct 2018 16:49:34 -0400 (EDT)

Revision: 8292
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8292
Author:   gavin
Date:     2018-10-16 16:49:34 -0400 (Tue, 16 Oct 2018)
Log Message:
-----------
remove @author from list of global commands

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/Texinfo/Parser.pm

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2018-10-16 18:52:45 UTC (rev 8291)
+++ trunk/ChangeLog     2018-10-16 20:49:34 UTC (rev 8292)
@@ -1,8 +1,21 @@
 2018-10-13  Gavin Smith  <address@hidden>
 
+       * tp/Texinfo/Parser.pm (%global_multiple_commands): Remove 'author'.
+       (_register_global_command): No exception for 'author'.
+
+2018-10-13  Gavin Smith  <address@hidden>
+
+       * tp/tests/sectioning/list-of-tests,
+       * tp/tests/contents/list-of-tests,
+       * tp/tests/indices/list-of-tests,
+       * tp/tests/tex_htmlindices/list-of-tests,
+       Use -c instead of --set-customization-variable, for brevity.
+
+2018-10-13  Gavin Smith  <address@hidden>
+
        * tp/tests/indices/list-of-tests
        (split_chapter_index, index_split, index_split_nodes)
-       (index_no_node ,nodes_before_top, nodes_before_top_nodes)
+       (index_no_node, nodes_before_top, nodes_before_top_nodes)
        (nodes_before_top_no_nodes, nodes_before_top_and_sections_monolithic):
        Remove tests.
 

Modified: trunk/tp/Texinfo/Parser.pm
===================================================================
--- trunk/tp/Texinfo/Parser.pm  2018-10-16 18:52:45 UTC (rev 8291)
+++ trunk/tp/Texinfo/Parser.pm  2018-10-16 20:49:34 UTC (rev 8292)
@@ -282,7 +282,7 @@
 
 my %global_multiple_commands;
 foreach my $global_multiple_command (
-  'author', 'footnote', 'hyphenation', 'insertcopying', 'printindex',
+  'footnote', 'hyphenation', 'insertcopying', 'printindex',
   'subtitle','titlefont', 'listoffloats', 'detailmenu', 'part',
   keys(%Texinfo::Common::document_settable_at_commands), ) {
   $global_multiple_commands{$global_multiple_command} = 1;
@@ -1095,7 +1095,7 @@
   if ($command eq 'summarycontents' and 
!$self->{'global_commands'}->{$command}) {
     $command = 'shortcontents';
   }
-  if ($self->{'global_commands'}->{$command} and $command ne 'author') {
+  if ($self->{'global_commands'}->{$command}) {
     push @{$self->{'extra'}->{$command}}, $current;
     $current->{'line_nr'} = $line_nr if (!$current->{'line_nr'});
     return 1;




reply via email to

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