texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/info echo-area.c


From: Sergey Poznyakoff
Subject: texinfo/info echo-area.c
Date: Wed, 16 Feb 2011 21:31:06 +0000

CVSROOT:        /cvsroot/texinfo
Module name:    texinfo
Changes by:     Sergey Poznyakoff <gray>        11/02/16 21:31:06

Modified files:
        info           : echo-area.c 

Log message:
        (ea_possible_completions): If the key which invokes the function was 
        pressed twice, and it represents a printable character, insert that 
        character in the echo area.  E.g. pressing ?? inserts a single question 
        mark into the EA.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/info/echo-area.c?cvsroot=texinfo&r1=1.14&r2=1.15

Patches:
Index: echo-area.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/info/echo-area.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- echo-area.c 11 Jun 2008 09:55:41 -0000      1.14
+++ echo-area.c 16 Feb 2011 21:31:06 -0000      1.15
@@ -1,5 +1,5 @@
 /* echo-area.c -- how to read a line in the echo area.
-   $Id: echo-area.c,v 1.14 2008/06/11 09:55:41 gray Exp $
+   $Id: echo-area.c,v 1.15 2011/02/16 21:31:06 gray Exp $
 
    Copyright (C) 1993, 1997, 1998, 1999, 2001, 2004, 2007, 2008
    Free Software Foundation, Inc.
@@ -912,7 +912,9 @@
 
 DECLARE_INFO_COMMAND (ea_possible_completions, _("List possible completions"))
 {
-  if (!echo_area_completion_items)
+  if (!echo_area_completion_items
+      || (isprint (key)
+         && ea_last_executed_command == (VFunction *) ea_possible_completions))
     {
       ea_insert (window, count, key);
       return;



reply via email to

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