1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 15:26:23 -05:00

Move global fillcol to random.

This commit is contained in:
Renaud 2013-10-10 11:13:49 +08:00
parent 0fdefdba7c
commit 96ca2e8580
4 changed files with 8 additions and 9 deletions

View File

@ -5,9 +5,6 @@
/* initialized global definitions */
int fillcol = 72; /* Current fill column */
int metac = CONTROL | '['; /* current meta character */
int ctlxc = CONTROL | 'X'; /* current control X prefix char */
int reptc = CONTROL | 'U'; /* current universal repeat char */

View File

@ -5,8 +5,6 @@
/* Initialized global external declarations. */
extern int fillcol; /* Fill column */
extern int metac; /* current meta character */
extern int ctlxc; /* current control X prefix char */
extern int reptc; /* current universal repeat char */

View File

@ -36,10 +36,12 @@ static const char *cname[] = { /* names of colors */
#define NCOLORS (sizeof cname / sizeof( *cname)) /* # of supported colors */
int gfcolor = NCOLORS - 1 ; /* global forgrnd color (white) */
int gbcolor = 0 ; /* global backgrnd color (black) */
int gfcolor = NCOLORS - 1 ; /* global forgrnd color (white) */
int gbcolor = 0 ; /* global backgrnd color (black) */
int tabsize ; /* Tab size (0: use real tabs) */
int fillcol = 72 ; /* Current fill column */
int tabsize; /* Tab size (0: use real tabs) */
/*
* Set fill column to n.

View File

@ -3,7 +3,9 @@
#define AEDIT 1
extern int tabsize ; /* Tab size (0: use real tabs). */
extern int tabsize ; /* Tab size (0: use real tabs). */
extern int fillcol ; /* Fill column */
int setfillcol( int f, int n) ;
int showcpos( int f, int n) ;