[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/texi2any.c (long_options, main):
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/texi2any.c (long_options, main): remove the demonstration mode. |
Date: |
Thu, 02 Jan 2025 03:23:04 -0500 |
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 9105d0b81d * tp/Texinfo/XS/texi2any.c (long_options, main): remove the
demonstration mode.
9105d0b81d is described below
commit 9105d0b81d849012753f5388500dfe65c32ed714
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Jan 2 09:23:06 2025 +0100
* tp/Texinfo/XS/texi2any.c (long_options, main): remove the
demonstration mode.
---
ChangeLog | 5 +++++
tp/Texinfo/XS/texi2any.c | 15 ---------------
2 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 08552d5d44..00da004736 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-01-02 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/texi2any.c (long_options, main): remove the
+ demonstration mode.
+
2025-01-01 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/main/txi_config.c (program_file)
diff --git a/tp/Texinfo/XS/texi2any.c b/tp/Texinfo/XS/texi2any.c
index 6d1cb9e310..ffc6af32df 100644
--- a/tp/Texinfo/XS/texi2any.c
+++ b/tp/Texinfo/XS/texi2any.c
@@ -696,9 +696,6 @@ const char *input_file_suffixes[] = {
".txi",".texinfo",".texi",".txinfo", "", NULL
};
-/* Non-zero means demonstration mode */
-static int demonstration_p;
-
/* If non-zero, show help and exit */
static int print_help_p;
@@ -758,7 +755,6 @@ static int embed_interpreter_p;
static struct option long_options[] = {
/* next not in texi2any */
- {"demonstration", 0, &demonstration_p, 1},
{"mimick", 0, 0, MIMICK_OPT},
{"embed-interpreter", 0, &embed_interpreter_p, 1},
{"no-embed-interpreter", 0, &embed_interpreter_p, -1},
@@ -837,7 +833,6 @@ main (int argc, char *argv[], char *env[])
/*
char *command_directory;
*/
- BUTTON_SPECIFICATION_LIST *custom_node_footer_buttons;
OPTIONS_LIST parser_options;
OPTIONS_LIST convert_options;
size_t errors_count = 0;
@@ -1970,16 +1965,6 @@ main (int argc, char *argv[], char *env[])
}
}
- if (demonstration_p)
- {
- /* customize buttons. It is a bit silly to use link buttons for
- footer, it is for the demonstration */
- custom_node_footer_buttons = new_base_links_buttons (0);
- add_new_button_option (&program_options,
- "NODE_FOOTER_BUTTONS", custom_node_footer_buttons);
- add_option_value (&program_options, "PROGRAM_NAME_IN_FOOTER", 1, 0);
- }
-
message_encoding_option
= GNUT_get_conf (program_options.options->MESSAGE_ENCODING.number);
if (message_encoding_option && message_encoding_option->o.string)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/texi2any.c (long_options, main): remove the demonstration mode.,
Patrice Dumas <=