AEDIT code activation moved from estruct to random.h.

This commit is contained in:
Renaud 2013-09-25 15:37:07 +08:00
parent 1f7826d3a8
commit e97f234607
2 changed files with 4 additions and 2 deletions

View File

@ -158,9 +158,7 @@
#define APROP 1 /* Add code for Apropos command */
#define CRYPT 1 /* file encryption enabled? */
#define MAGIC 1 /* include regular expression matching? */
#endif
#define AEDIT 1 /* advanced editing options: en/detabbing */
#if 0
#define PROC 1 /* named procedures */
#endif
#define CLEAN 0 /* de-alloc memory on exit */

View File

@ -1,6 +1,8 @@
#ifndef _RANDOM_H_
#define _RANDOM_H_
#define AEDIT 1
extern int tabsize ; /* Tab size (0: use real tabs). */
int setfillcol( int f, int n) ;
@ -11,9 +13,11 @@ int setccol( int pos) ;
int twiddle( int f, int n) ;
int quote( int f, int n) ;
int insert_tab( int f, int n) ;
#if AEDIT
int detab( int f, int n) ;
int entab( int f, int n) ;
int trim( int f, int n) ;
#endif
int openline( int f, int n) ;
int insert_newline( int f, int n) ;
int cinsert( void) ;