Mercurial > emacs
diff src/keyboard.c @ 53089:4ccaea0e450c
(parse_modifiers, apply_modifiers): Use INTMASK instead of VALMASK.
| author | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| date | Mon, 17 Nov 2003 23:29:40 +0000 |
| parents | 695cf19ef79e |
| children | c9aeaeb38318 |
line wrap: on
line diff
--- 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);
