From 28fde3b3a086fa9cb9cbd8ec8d1989267919c398 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 18 Apr 2007 01:29:55 +0000 Subject: [PATCH] *** empty log message *** --- src/input.c | 60 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/src/input.c b/src/input.c index ef62c32..cfc1592 100644 --- a/src/input.c +++ b/src/input.c @@ -4781,7 +4781,7 @@ minput_get_description (MSymbol language, MSymbol name) @c STATUS is a symbol representing how the key assignment is decided. The value is #Mnil (the default key assignment), #Mcustomized (the - key assignment is customized by per-user configuration file), or + key assignment is customized by per-user customization file), or #Mconfigured (the key assignment is set by the call of minput_config_command ()). For a local command only, it may also be #Minherited (the key assignment is inherited from the @@ -4905,13 +4905,16 @@ minput_get_command (MSymbol language, MSymbol name, MSymbol command) If $KEYSEQLIST is a non-empty plist, it must be a list of key sequences, and each key sequence must be a plist of symbols. - If $KEYSEQLIST is an empty plist, the default key sequences of the - command for the input method is assigned to $COMMAND. + If $KEYSEQLIST is an empty plist, any configuration and + customization of the command are cancelled, and default key + sequences become effective. - If $KEYSEQLIST is NULL, the configuration of the command for the - input method is canceled, and the default key sequences become - effective. In such case, if $COMMAND is #Mnil, configurations for - all commands of the input method are canceled. + If $KEYSEQLIST is NULL, the configuration of the command is + canceled, and the original key sequences (what saved in per-user + customization file, or the default one) become effective. + + In the latter two cases, $COMMAND can be #Mnil to make all the + commands of the input method the target of the operation. If $NAME is #Mnil, this function configures the key assignment of a global command, not that of a specific input method. @@ -4919,11 +4922,10 @@ minput_get_command (MSymbol language, MSymbol name, MSymbol command) The configuration takes effect for input methods opened or re-opened later in the current session. In order to make the configuration take effect for the future session, it must be saved - in a per-user configuration file by the function + in a per-user customization file by the function minput_save_config (). @return - If the operation was successful, this function returns 0, otherwise returns -1. The operation fails in these cases: