mirror of
https://github.com/rfivet/uemacs.git
synced 2025-09-24 22:24:02 -04:00
Move global buffer pointers and gmode to buffer.
This commit is contained in:
6
buffer.c
6
buffer.c
@@ -23,6 +23,10 @@
|
||||
#include "window.h"
|
||||
|
||||
|
||||
struct buffer *curbp ; /* Current buffer */
|
||||
struct buffer *bheadp ; /* Head of list of buffers */
|
||||
struct buffer *blistp ; /* Buffer for C-X C-B */
|
||||
|
||||
const char *modename[] = { /* name of modes */
|
||||
"Wrap", "Cmode", "Spell", "Exact", "View", "Over",
|
||||
"Magic",
|
||||
@@ -34,6 +38,8 @@ const char *modename[] = { /* name of modes */
|
||||
"Asave", "Utf-8", "Dos"
|
||||
} ;
|
||||
|
||||
int gmode = 0 ; /* global editor mode */
|
||||
|
||||
static const char modecode[] = "WCSEVOMYAUD" ; /* letters to represent modes */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user