texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/XS/main/utils.c (get_global_document


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/main/utils.c (get_global_document_command): set command_list for multi commands in the if multi.
Date: Wed, 02 Oct 2024 17:28:52 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new f719e23ba9 * tp/Texinfo/XS/main/utils.c (get_global_document_command): 
set command_list for multi commands in the if multi.
f719e23ba9 is described below

commit f719e23ba9e91a5459a43e2ad02a5663f79dea13
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Aug 4 14:33:05 2024 +0200

    * tp/Texinfo/XS/main/utils.c (get_global_document_command): set
    command_list for multi commands in the if multi.
---
 ChangeLog                  | 5 +++++
 tp/Texinfo/XS/main/utils.c | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f3f34d1b6d..25a7bbe3ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,11 @@
        (get_converter_info_from_sv): do not error out on
        deprecated_config_directories customization hash directory key.
 
+2024-08-04  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/main/utils.c (get_global_document_command): set
+       command_list for multi commands in the if multi.
+
 2024-08-04  Patrice Dumas  <pertusus@free.fr>
 
        * tp/maintain/regenerate_perl_options_info.pl: use more simple quotes.
diff --git a/tp/Texinfo/XS/main/utils.c b/tp/Texinfo/XS/main/utils.c
index 0296d89866..7f8c1b5579 100644
--- a/tp/Texinfo/XS/main/utils.c
+++ b/tp/Texinfo/XS/main/utils.c
@@ -1350,10 +1350,11 @@ get_global_document_command (const GLOBAL_COMMANDS 
*global_commands,
     fprintf (stderr, "BUG: get_global_document_command: unknown CL: %d\n",
                      command_location);
 
-  const ELEMENT_LIST *command_list
-     = get_cmd_global_multi_command (global_commands, cmd);
   if (builtin_command_data[cmd].flags & CF_global)
     {
+      const ELEMENT_LIST *command_list
+        = get_cmd_global_multi_command (global_commands, cmd);
+
       if (command_list->number)
         {
           if (command_location == CL_last)



reply via email to

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