1
0
mirror of https://github.com/rfivet/uemacs.git synced 2025-11-23 11:41:15 -05:00

Manage key binding table dynamically.

Avoid deleting or binding to active prefix keys.
This commit is contained in:
2021-07-24 16:34:54 +08:00
parent ba1bfcd0db
commit 735aefc166
4 changed files with 146 additions and 119 deletions

5
main.c
View File

@@ -165,7 +165,10 @@ int main(int argc, char **argv)
}
/* Initialize the editor. */
init_bindings() ; /* initialize mapping of function to name and key */
if( !init_bindings()) { /* initialize mapping of function to name and key */
return( EXIT_FAILURE) ;
}
vtinit(); /* Display */
mloutfmt = mlwrite ;
edinit("main"); /* Buffers, windows */