diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-05-11 16:16:52 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-05-11 16:16:52 -0700 |
commit | 5235bd3eb16b94dc5dcef3b1447f821fc09ea930 (patch) | |
tree | 216c6b983a9fc59910efe3341ffcc58af1637236 /lisp/emacs-lisp/timer.el | |
parent | bc827e23be4630f4b5d7a1895e37cfab89eb6b6a (diff) | |
download | emacs-5235bd3eb16b94dc5dcef3b1447f821fc09ea930.tar.gz emacs-5235bd3eb16b94dc5dcef3b1447f821fc09ea930.tar.bz2 emacs-5235bd3eb16b94dc5dcef3b1447f821fc09ea930.zip |
* xterm.c: Use EMACS_INT for Emacs modifiers, and int for X modifiers.
Before, the code was not consistent. These values cannot exceed
2**31 - 1 so there's no need to make them unsigned.
(x_x_to_emacs_modifiers): Accept int and return EMACS_INT.
(x_emacs_to_x_modifiers): Accept EMACS_INT and return int.
(x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Reject non-integers
as modifiers.
* xterm.h (x_x_to_emacs_modifiers): Adjust to signature change.
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions