mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-18 15:26:23 -05:00
Limit scope of cbuf to exec.
This commit is contained in:
parent
84919039a5
commit
259de639e4
2
exec.c
2
exec.c
@ -1001,7 +1001,7 @@ int dofile(char *fname)
|
|||||||
* int f, n; default flag and numeric arg
|
* int f, n; default flag and numeric arg
|
||||||
* int bufnum; number of buffer to execute
|
* int bufnum; number of buffer to execute
|
||||||
*/
|
*/
|
||||||
int cbuf(int f, int n, int bufnum)
|
static int cbuf(int f, int n, int bufnum)
|
||||||
{
|
{
|
||||||
struct buffer *bp; /* ptr to buffer to execute */
|
struct buffer *bp; /* ptr to buffer to execute */
|
||||||
int status; /* status return */
|
int status; /* status return */
|
||||||
|
2
exec.h
2
exec.h
@ -26,7 +26,7 @@ int storemac( int f, int n) ;
|
|||||||
int execbuf( int f, int n) ;
|
int execbuf( int f, int n) ;
|
||||||
int execfile( int f, int n) ;
|
int execfile( int f, int n) ;
|
||||||
int dofile( char *fname) ;
|
int dofile( char *fname) ;
|
||||||
int cbuf( int f, int n, int bufnum) ;
|
|
||||||
int cbuf1( int f, int n) ;
|
int cbuf1( int f, int n) ;
|
||||||
int cbuf2( int f, int n) ;
|
int cbuf2( int f, int n) ;
|
||||||
int cbuf3( int f, int n) ;
|
int cbuf3( int f, int n) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user