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

Revise types for names and keys bindings.

This commit is contained in:
2021-07-30 09:30:12 +08:00
parent 735aefc166
commit 22bbd0417c
9 changed files with 63 additions and 64 deletions

4
exec.c
View File

@@ -90,7 +90,7 @@ int namedcmd( int f, int n) {
mlwrite("execute-named-cmd: ");
/* and now get the function name to execute */
const name_bind *nbp = getname() ;
nbind_p nbp = getname() ;
if( nbp == NULL) /* abort */
return FALSE ;
@@ -190,7 +190,7 @@ static int docmd( char *cline) {
}
/* and match the token to see if it exists */
const name_bind *nbp = fncmatch( tkn) ;
nbind_p nbp = fncmatch( tkn) ;
fnp_t fnc = nbp->n_func ;
if( fnc == NULL) {
mlwrite("(No such Function)");