[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[5538] don't split window for tutorial
From: |
Gavin D. Smith |
Subject: |
[5538] don't split window for tutorial |
Date: |
Fri, 09 May 2014 12:42:49 +0000 |
Revision: 5538
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5538
Author: gavin
Date: 2014-05-09 12:42:48 +0000 (Fri, 09 May 2014)
Log Message:
-----------
don't split window for tutorial
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/infodoc.c
trunk/info/session.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2014-05-09 00:18:37 UTC (rev 5537)
+++ trunk/ChangeLog 2014-05-09 12:42:48 UTC (rev 5538)
@@ -1,3 +1,10 @@
+2014-05-09 Gavin Smith <address@hidden>
+
+ * info/infodoc.c (info_get_info_help_node): Don't split window
+ to display Info tutorial.
+ * info/session.c (begin_multiple_window_info_session): Unused
+ variable removed.
+
2014-05-08 Gavin Smith <address@hidden>
* info/session.c (select_menu_digit): Return null if no menu.
Modified: trunk/info/infodoc.c
===================================================================
--- trunk/info/infodoc.c 2014-05-09 00:18:37 UTC (rev 5537)
+++ trunk/info/infodoc.c 2014-05-09 12:42:48 UTC (rev 5538)
@@ -532,23 +532,11 @@
info_error ("%s", info_recent_file_error);
else
info_error (msg_cant_file_node, "Info", nodename);
+
+ return;
}
- else
- {
- /* If the current window is very large (greater than 45 lines),
- then split it and show the help node in another window.
- Otherwise, use the current window. */
- if (active_window->height > 45)
- active_window = window_make_window (node);
- else
- {
- set_remembered_pagetop_and_point (active_window);
- window_set_node_of_window (active_window, node);
- }
-
- remember_window_and_node (active_window, node);
- }
+ info_set_node_of_window (active_window, node);
}
/* **************************************************************** */
Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c 2014-05-09 00:18:37 UTC (rev 5537)
+++ trunk/info/session.c 2014-05-09 12:42:48 UTC (rev 5538)
@@ -106,8 +106,6 @@
for (i = 0; references && references[i]; i++)
{
- NODE *node;
-
if (!window)
{
window = active_window;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [5538] don't split window for tutorial,
Gavin D. Smith <=