--- a/joe/b.c
+++ b/joe/b.c
@@ -267,8 +267,6 @@
 	enquef(B, link, &bufs, b);
 	pcoalesce(b->bof);
 	pcoalesce(b->eof);
-	b->hist = 0;
-	b->hist_p = 0;
 	return b;
 }
 
@@ -282,10 +280,6 @@
 void brm(B *b)
 {
 	if (b && !--b->count) {
-	        if (b->hist_p) {
-	                prm(b->hist_p);
-	                brm(b->hist);
-	        }
 		if (b->changed)
 			abrerr(b->name);
 		if (b->locked && !b->ignored_lock && plain_file(b))
@@ -805,13 +799,6 @@
 			++(p->line);
 			p->col = 0;
 			p->valcol = 1;
-                } else if (c == '\033') { /* Hide ansi */
-                        int d;
-                        int v = p->valcol;
-                        while ((d = pgetb(p)) != NO_MORE_DATA)
-                                if (d >= 'A' && d <= 'Z' || d >= 'a' && d <= 'z')
-                                        break;
-                        p->valcol = v;
 		} else if (p->b->o.crlf && c == '\r') {
 			if (brc(p) == '\n')
 				return pgetc(p);
@@ -1026,7 +1013,7 @@
 /* move p to the end of line */
 P *p_goto_eol(P *p)
 {
-	if (p->b->o.crlf || p->b->o.charmap->type || 1)
+	if (p->b->o.crlf || p->b->o.charmap->type)
 		while (!piseol(p))
 			pgetc(p);
 	else
@@ -1133,7 +1120,7 @@
 P *pcol(P *p, long goalcol)
 {
 	p_goto_bol(p);
-	if(p->b->o.charmap->type || 1) {
+	if(p->b->o.charmap->type) {
 		do {
 			int c;
 			int wid;
@@ -1205,7 +1192,7 @@
 P *pcoli(P *p, long goalcol)
 {
 	p_goto_bol(p);
-	if (p->b->o.charmap->type || 1) {
+	if (p->b->o.charmap->type) {
 		while (p->col < goalcol) {
 			int c;
 			c = brc(p);