From: Stefan Monnier Date: Mon, 17 Nov 2003 23:29:40 +0000 (+0000) Subject: (parse_modifiers, apply_modifiers): Use INTMASK instead of VALMASK. X-Git-Tag: ttn-vms-21-2-B4~8338 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e22216b8a5c42df9f0b449b2c4c6907ec00662d7;p=emacs.git (parse_modifiers, apply_modifiers): Use INTMASK instead of VALMASK. --- diff --git a/src/keyboard.c b/src/keyboard.c index 3dadfcedb21..5b1f40403a2 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -6126,7 +6126,7 @@ parse_modifiers (symbol) 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 @@ apply_modifiers (modifiers, base) 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);