emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/keyboard.c


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/keyboard.c
Date: Thu, 15 May 2003 17:20:53 -0400

Index: emacs/src/keyboard.c
diff -c emacs/src/keyboard.c:1.743 emacs/src/keyboard.c:1.744
*** emacs/src/keyboard.c:1.743  Wed May 14 14:43:12 2003
--- emacs/src/keyboard.c        Thu May 15 17:20:52 2003
***************
*** 6091,6102 ****
        entry = Fcons (index, new_symbol);
        Fput (base, Qmodifier_cache, Fcons (entry, cache));
  
!       /* We have the parsing info now for free, so add it to the caches.  */
!       XSETFASTINT (index, modifiers);
!       Fput (new_symbol, Qevent_symbol_element_mask,
!           Fcons (base, Fcons (index, Qnil)));
!       Fput (new_symbol, Qevent_symbol_elements,
!           Fcons (base, lispy_modifier_list (modifiers)));
      }
  
    /* Make sure this symbol is of the same kind as BASE.
--- 6091,6105 ----
        entry = Fcons (index, new_symbol);
        Fput (base, Qmodifier_cache, Fcons (entry, cache));
  
!       /* We have the parsing info now for free, so we could add it to
!        the caches:
!          XSETFASTINT (index, modifiers);
!          Fput (new_symbol, Qevent_symbol_element_mask,
!                Fcons (base, Fcons (index, Qnil)));
!          Fput (new_symbol, Qevent_symbol_elements,
!                Fcons (base, lispy_modifier_list (modifiers)));
!        Sadly, this is only correct if `base' is indeed a base event,
!        which is not necessarily the case.  -stef  */
      }
  
    /* Make sure this symbol is of the same kind as BASE.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]