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

Merge name to function and key code to function table initialization.

This commit is contained in:
2021-07-23 10:47:58 +08:00
parent 521d96fbda
commit f30ef38bc8
8 changed files with 321 additions and 562 deletions

4
exec.c
View File

@@ -87,7 +87,7 @@ static int macarg( char *tok, int toksz) ;
*/
int namedcmd( int f, int n) {
/* prompt the user to type a named command */
mlwrite(": execute-named-cmd ");
mlwrite("execute-named-cmd: ");
/* and now get the function name to execute */
const name_bind *nbp = getname() ;
@@ -121,7 +121,7 @@ int execcmd( int f, int n) {
char *cmdstr ; /* string holding command to execute */
/* get the line wanted */
status = newmlarg( &cmdstr, ": execute-command-line ", 0) ;
status = newmlarg( &cmdstr, "execute-command-line: ", 0) ;
if( status != TRUE)
return status ;