mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-18 07:16:23 -05:00
Move execstr from globals to exec.
This commit is contained in:
parent
0a998c1cf9
commit
83e10e36d5
1
edef.h
1
edef.h
@ -22,7 +22,6 @@ typedef int (*fn_t)(int, int);
|
|||||||
/* Initialized global external declarations. */
|
/* Initialized global external declarations. */
|
||||||
|
|
||||||
extern int fillcol; /* Fill column */
|
extern int fillcol; /* Fill column */
|
||||||
extern char *execstr; /* pointer to string to execute */
|
|
||||||
|
|
||||||
|
|
||||||
extern int eolexist; /* does clear to EOL exist? */
|
extern int eolexist; /* does clear to EOL exist? */
|
||||||
|
4
exec.c
4
exec.c
@ -24,6 +24,10 @@
|
|||||||
#include "line.h"
|
#include "line.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
|
|
||||||
|
char *execstr = NULL ; /* pointer to string to execute */
|
||||||
|
|
||||||
|
|
||||||
/* Directive definitions */
|
/* Directive definitions */
|
||||||
|
|
||||||
#define DIF 0
|
#define DIF 0
|
||||||
|
4
exec.h
4
exec.h
@ -8,6 +8,10 @@ int storeproc( int f, int n) ;
|
|||||||
int execproc( int f, int n) ;
|
int execproc( int f, int n) ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
extern char *execstr ; /* pointer to string to execute */
|
||||||
|
|
||||||
|
|
||||||
int namedcmd( int f, int n) ;
|
int namedcmd( int f, int n) ;
|
||||||
int execcmd( int f, int n) ;
|
int execcmd( int f, int n) ;
|
||||||
int docmd( char *cline) ;
|
int docmd( char *cline) ;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
/* initialized global definitions */
|
/* initialized global definitions */
|
||||||
|
|
||||||
int fillcol = 72; /* Current fill column */
|
int fillcol = 72; /* Current fill column */
|
||||||
char *execstr = NULL; /* pointer to string to execute */
|
|
||||||
|
|
||||||
|
|
||||||
int eolexist = TRUE; /* does clear to EOL exist */
|
int eolexist = TRUE; /* does clear to EOL exist */
|
||||||
|
Loading…
Reference in New Issue
Block a user