]> git.eshelyaron.com Git - emacs.git/commitdiff
(parse_modifiers, apply_modifiers): Use INTMASK instead of VALMASK.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 17 Nov 2003 23:29:40 +0000 (23:29 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 17 Nov 2003 23:29:40 +0000 (23:29 +0000)
src/keyboard.c

index 3dadfcedb2147a10362f4d5a90f269106ba33d36..5b1f40403a2f7449e585285118be487bc2dd7d94 100644 (file)
@@ -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);