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

Revise keycode encoding.

Gather APROP and CFENCE conditional code.
This commit is contained in:
2021-07-30 16:24:52 +08:00
parent 22bbd0417c
commit c4fab606d1
11 changed files with 242 additions and 243 deletions

20
bind.h
View File

@@ -3,23 +3,17 @@
#include "names.h"
#define APROP 1 /* Add code for Apropos command */
/* uEMACS functions */
#if APROP
int apro( int f, int n) ;
#endif
int help( int f, int n) ;
int deskey( int f, int n) ;
int bindtokey( int f, int n) ;
int unbindkey( int f, int n) ;
int desbind( int f, int n) ;
/* Bindable uEMACS functions */
BINDABLE( apro) ;
BINDABLE( bindtokey) ;
BINDABLE( desbind) ;
BINDABLE( deskey) ;
BINDABLE( help) ;
BINDABLE( unbindkey) ;
int startup( const char *fname) ;
/* find a key to function association in the key to function mapping table */
kbind_p getkeybind( unsigned keycode) ; /* by key code */
const char *transbind( char *skey) ; /* by string representation of key */
#endif