Author: ek.kato
Date: Tue Oct  7 09:04:43 2008
New Revision: 5587

Modified:
   trunk/scm/generic.scm

Log:
* scm/generic.scm (generic-proc-specific-multi-cand-input-state) :
  Do nothing upon numeric key press if there is no corresponding
  candidate entry.


Modified: trunk/scm/generic.scm
==============================================================================
--- trunk/scm/generic.scm       (original)
+++ trunk/scm/generic.scm       Tue Oct  7 09:04:43 2008
@@ -382,8 +382,8 @@
       #f)
      ((and generic-commit-candidate-by-numeral-key?
           (ichar-numeric? key))
-      (generic-context-set-multi-cand-input! pc #f)
-      (generic-commit-by-numkey pc key)
+      (if (generic-commit-by-numkey pc key)
+         (generic-context-set-multi-cand-input! pc #f))
       #f)

      ((and (modifier-key-mask state)

Reply via email to