utf hack depends on emacs-usemeta off (the default)

This commit is contained in:
tg 2006-11-05 15:36:09 +00:00
parent a373d2e7ab
commit 08d3457cff
1 changed files with 2 additions and 2 deletions

4
edit.c
View File

@ -5,7 +5,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.39 2006/11/05 15:31:36 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.40 2006/11/05 15:36:09 tg Exp $");
/* tty driver characters we are interested in */
typedef struct {
@ -1092,7 +1092,7 @@ static Area aedit;
#define MKCTRL(x) ((x) == '?' ? 0x7F : (x) & 0x1F) /* ASCII */
#define UNCTRL(x) ((x) ^ 0x40) /* ASCII */
#define META(x) ((x) & 0x7f)
#define ISMETA(x) (Flag(FEMACSUSEMETA) && ((x) & 0x80))
#define ISMETA(x) (!Flag(FUTFHACK) && Flag(FEMACSUSEMETA) && ((x) & 0x80))
/* values returned by keyboard functions */