aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1999-08-13 12:55:11 +0000
committerKenichi Handa1999-08-13 12:55:11 +0000
commit048151c1c1d14614b5815bdbd8cc22795f08aac4 (patch)
treeb0ed97501000b44e658bb5bf777c66c34483dee8 /src
parent164d590d5c570746fd0f29985ad0dc7a2d94b259 (diff)
downloademacs-048151c1c1d14614b5815bdbd8cc22795f08aac4.tar.gz
emacs-048151c1c1d14614b5815bdbd8cc22795f08aac4.zip
(CHAR_MODIFIER_MASK): New macro.
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 5920245eb68..fdf351553d4 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -1043,6 +1043,10 @@ typedef unsigned char UCHAR;
1043#define CHAR_CTL (0x4000000) 1043#define CHAR_CTL (0x4000000)
1044#define CHAR_META (0x8000000) 1044#define CHAR_META (0x8000000)
1045 1045
1046#define CHAR_MODIFIER_MASK \
1047 (CHAR_ALT | CHAR_SUPER | CHAR_HYPER | CHAR_SHIFT | CHAR_CTL | CHAR_META)
1048
1049
1046/* Actually, the current Emacs uses 19 bits for the character value 1050/* Actually, the current Emacs uses 19 bits for the character value
1047 itself. */ 1051 itself. */
1048#define CHARACTERBITS 19 1052#define CHARACTERBITS 19