mirror of
https://github.com/rfivet/uemacs.git
synced 2024-11-15 17:16:48 -05:00
Review visibility of tabsize variable and nextab() macro.
This commit is contained in:
parent
6455b200c3
commit
e9142541a9
1
line.h
1
line.h
@ -27,7 +27,6 @@ struct line {
|
||||
#define lputc(lp, n, c) ((lp)->l_text[(n)]=(c))
|
||||
#define llength(lp) ((lp)->l_used)
|
||||
|
||||
#define nextab(a) (a & ~tabmask) + (tabmask+1)
|
||||
extern int tabmask ;
|
||||
|
||||
char *getkill( void) ;
|
||||
|
4
random.c
4
random.c
@ -40,7 +40,7 @@ static const char *cname[] = { /* names of colors */
|
||||
int gfcolor = NCOLORS - 1 ; /* global forgrnd color (white) */
|
||||
int gbcolor = 0 ; /* global backgrnd color (black) */
|
||||
|
||||
int tabsize ; /* Tab size (0: use real tabs) */
|
||||
static int tabsize ; /* Tab size (0: use real tabs) */
|
||||
int fillcol = 72 ; /* Current fill column */
|
||||
|
||||
/* uninitialized global definitions */
|
||||
@ -345,6 +345,8 @@ int detab(int f, int n)
|
||||
*/
|
||||
int entab(int f, int n)
|
||||
{
|
||||
#define nextab(a) (a & ~tabmask) + (tabmask+1)
|
||||
|
||||
int inc; /* increment to next line [sgn(n)] */
|
||||
int fspace; /* pointer to first space if in a run */
|
||||
int ccol; /* current cursor column */
|
||||
|
Loading…
Reference in New Issue
Block a user