summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/timer.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-05-11 16:16:52 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-05-11 16:16:52 -0700
commit5235bd3eb16b94dc5dcef3b1447f821fc09ea930 (patch)
tree216c6b983a9fc59910efe3341ffcc58af1637236 /lisp/emacs-lisp/timer.el
parentbc827e23be4630f4b5d7a1895e37cfab89eb6b6a (diff)
downloademacs-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