Add separate key mappings for left/right control/command on Nextstep (Bug#7458).
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 21 Nov 2010 13:09:34 +0000 (14:09 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 21 Nov 2010 13:09:34 +0000 (14:09 +0100)
commitb7d1e1444724b4f2e47df2cac9983c4f9ac0a21a
tree365d8fcd2196648bf584a54b117b4f9601e874da
parent034244e55ba9223e7929fada1c2a545c4beee95c
Add separate key mappings for left/right control/command on Nextstep (Bug#7458).

* lisp/cus-start.el (all): Add ns-right-control-modifier and
ns-right-command-modifier.

* lisp/term/ns-win.el (ns-right-control-modifier)
(ns-right-command-modifier): Defvar them.

* src/nsterm.m (ns_right_command_modifier, ns_right_control_modifier):
Define (Bug#7458).
(NSRightCommandKeyMask, NSRightControlKeyMask): Define (Bug#7458).
(EV_MODIFIERS): Check for NSRightCommandKeyMask and
NSRightControlKeyMask also (Bug#7458).
(keyDown): Ditto (Bug#7458).
(syms_of_nsterm): Defvar ns-right-command-modifier and
ns-right-control-modifier (Bug#7458).
lisp/ChangeLog
lisp/cus-start.el
lisp/term/ns-win.el
src/ChangeLog
src/nsterm.m