texinfo-commits
[Top][All Lists]
Advanced

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

[6660] delete can exit echo area


From: Gavin D. Smith
Subject: [6660] delete can exit echo area
Date: Wed, 30 Sep 2015 13:09:45 +0000

Revision: 6660
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6660
Author:   gavin
Date:     2015-09-30 13:09:45 +0000 (Wed, 30 Sep 2015)
Log Message:
-----------
delete can exit echo area

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/echo-area.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-09-30 12:57:46 UTC (rev 6659)
+++ trunk/ChangeLog     2015-09-30 13:09:45 UTC (rev 6660)
@@ -1,5 +1,11 @@
 2015-09-30  Gavin Smith  <address@hidden>
 
+       * info/echo-area.c (ea_rubout),
+       * TODO: Abort echo area read if backspace at start of area and 
+       user input is empty.
+
+2015-09-30  Gavin Smith  <address@hidden>
+
        * info/echo-area.c (input_line_prompt): Remove unused variable.
        (PUSHED_EA): Remove unused field 'prompt'.
 

Modified: trunk/info/echo-area.c
===================================================================
--- trunk/info/echo-area.c      2015-09-30 12:57:46 UTC (rev 6659)
+++ trunk/info/echo-area.c      2015-09-30 13:09:45 UTC (rev 6660)
@@ -459,7 +459,13 @@
       int start;
 
       if (input_line_point == input_line_beg)
-        return;
+        {
+          /* Abort echo area read if backspace at start of area and user input 
+             is empty. */
+          if (input_line_beg == input_line_end)
+            info_aborted_echo_area = 1;
+          return;
+        }
 
       start = input_line_point;
       ea_backward (window, count);




reply via email to

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