mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-18 15:26:23 -05:00
clarify ebind dependencies (only needed by bind).
This commit is contained in:
parent
2ed4446758
commit
c4a5c31d42
1
bind.c
1
bind.c
@ -14,6 +14,7 @@
|
||||
|
||||
#include "buffer.h"
|
||||
#include "display.h"
|
||||
#include "ebind.h"
|
||||
#include "estruct.h"
|
||||
#include "edef.h"
|
||||
#include "exec.h"
|
||||
|
3
ebind.c
3
ebind.c
@ -1,3 +1,6 @@
|
||||
/* ebind.c -- implements ebind.h */
|
||||
#include "ebind.h"
|
||||
|
||||
/* ebind.c
|
||||
*
|
||||
* Initial default key to function bindings
|
||||
|
8
ebind.h
Normal file
8
ebind.h
Normal file
@ -0,0 +1,8 @@
|
||||
/* Structure for the table of initial key bindings. */
|
||||
struct key_tab {
|
||||
int k_code; /* Key code */
|
||||
int (*k_fp)(int, int); /* Routine to handle it */
|
||||
};
|
||||
|
||||
extern struct key_tab keytab[]; /* key bind to functions table */
|
||||
|
1
edef.h
1
edef.h
@ -33,7 +33,6 @@ extern int flickcode; /* do flicker supression? */
|
||||
extern char *modename[]; /* text names of modes */
|
||||
extern char *mode2name[]; /* text names of modes */
|
||||
extern char modecode[]; /* letters to represent modes */
|
||||
extern struct key_tab keytab[]; /* key bind to functions table */
|
||||
extern struct name_bind names[];/* name to function table */
|
||||
extern int gmode; /* global editor mode */
|
||||
extern int gflags; /* global control flag */
|
||||
|
@ -561,12 +561,6 @@ struct terminal {
|
||||
#define TTbacg (*term.t_setback)
|
||||
#endif
|
||||
|
||||
/* Structure for the table of initial key bindings. */
|
||||
struct key_tab {
|
||||
int k_code; /* Key code */
|
||||
int (*k_fp)(int, int); /* Routine to handle it */
|
||||
};
|
||||
|
||||
/* Structure for the name binding table. */
|
||||
struct name_bind {
|
||||
char *n_name; /* name of function key */
|
||||
|
Loading…
Reference in New Issue
Block a user