texinfo-commits
[Top][All Lists]
Advanced

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

[5897] don't display a completed key sequence when reading in the echo a


From: Gavin D. Smith
Subject: [5897] don't display a completed key sequence when reading in the echo area
Date: Wed, 29 Oct 2014 00:05:21 +0000

Revision: 5897
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5897
Author:   gavin
Date:     2014-10-29 00:05:17 +0000 (Wed, 29 Oct 2014)
Log Message:
-----------
don't display a completed key sequence when reading in the echo area

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/session.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-10-28 08:32:28 UTC (rev 5896)
+++ trunk/ChangeLog     2014-10-29 00:05:17 UTC (rev 5897)
@@ -1,3 +1,8 @@
+2014-10-29  Gavin Smith  <address@hidden>
+
+       * info/session.c (info_dispatch_on_key): Don't display a 
+       completed key sequence when in the echo area.
+
 2014-10-28  Patrice Dumas  <address@hidden>
 
        * Texinfo/Convert/DocBook.pm: also upper-case accented commands

Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c        2014-10-28 08:32:28 UTC (rev 5896)
+++ trunk/info/session.c        2014-10-29 00:05:17 UTC (rev 5897)
@@ -4982,7 +4982,11 @@
 
             add_char_to_keyseq (key);
 
-            if (info_keyseq_displayed_p)
+            /* Don't update the key sequence if reading a key sequence in the 
+               echo area.  This means that a key sequence like "C-u 2 Left"
+               appears to take effect immediately, instead of there being a 
+               delay while the message is displayed. */
+            if (!echo_area_is_active && info_keyseq_displayed_p)
               display_info_keyseq (0);
 
             return func;




reply via email to

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