# HG changeset patch # User Stefan Monnier # Date 1069111780 0 # Node ID 4ccaea0e450cef0a7b2295f4aaaffb9d6a878701 # Parent 63a8b584e971964c13a43043d360ddf5327283ee (parse_modifiers, apply_modifiers): Use INTMASK instead of VALMASK. diff -r 63a8b584e971 -r 4ccaea0e450c src/keyboard.c --- a/src/keyboard.c Mon Nov 17 23:29:30 2003 +0000 +++ b/src/keyboard.c Mon Nov 17 23:29:40 2003 +0000 @@ -6126,7 +6126,7 @@ SBYTES (SYMBOL_NAME (symbol)) - end), Qnil); - if (modifiers & ~VALMASK) + if (modifiers & ~INTMASK) abort (); XSETFASTINT (mask, modifiers); elements = Fcons (unmodified, Fcons (mask, Qnil)); @@ -6163,7 +6163,7 @@ Lisp_Object cache, index, entry, new_symbol; /* Mask out upper bits. We don't know where this value's been. */ - modifiers &= VALMASK; + modifiers &= INTMASK; /* The click modifier never figures into cache indices. */ cache = Fget (base, Qmodifier_cache);