diff options
| author | Jan Djärv | 2010-10-11 21:18:08 +0200 |
|---|---|---|
| committer | Jan Djärv | 2010-10-11 21:18:08 +0200 |
| commit | a2e35ef5d52031e0fa184d1863fe7cb7043ef637 (patch) | |
| tree | 0e4178b0a917a2ed632776bb769b07482af2ab9a /etc | |
| parent | 9386ae128af79d61278bd3686d56f3624f9cc5bd (diff) | |
| download | emacs-a2e35ef5d52031e0fa184d1863fe7cb7043ef637.tar.gz emacs-a2e35ef5d52031e0fa184d1863fe7cb7043ef637.zip | |
Bug#7150: Distinguishing between left and right Alt keys on NextStep/OSX.
* lisp/cus-start.el (all): ns-right-alternate-modifier is new.
* lisp/term/ns-win.el (ns-right-alternate-modifier): New defvar.
(ns-right-option-modifier): New alias for ns-right-alternate-modifier.
(mac-right-option-modifier): New alias for ns-right-option-modifier.
* src/nsterm.m (Qleft): Declare.
(ns_right_alternate_modifier): New variable
(NSRightAlternateKeyMask): New define.
(EV_MODIFIERS): Parse NSRightAlternateKeyMask if
ns_right_alternate_modifier isn't Qleft.
(keyDown): If ns_right_alternate_modifier isn't Qleft, use it
as emacs modifier for NSRightAlternateKeyMask.
(syms_of_nsterm): DEFVAR_LISP ns-right-alternate-modifier.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -21,6 +21,9 @@ with a prefix argument or by typing C-u C-h C-n. | |||
| 21 | 21 | ||
| 22 | * Changes in Emacs 23.3 | 22 | * Changes in Emacs 23.3 |
| 23 | 23 | ||
| 24 | ** The nextstep port can have different modifiers for the left and right | ||
| 25 | alt/option key by customizing the value for ns-right-alternate-modifier. | ||
| 26 | |||
| 24 | 27 | ||
| 25 | * Editing Changes in Emacs 23.3 | 28 | * Editing Changes in Emacs 23.3 |
| 26 | 29 | ||