diff options
author | Adrian Robert <Adrian.B.Robert@gmail.com> | 2010-07-13 13:41:49 +0300 |
---|---|---|
committer | Adrian Robert <Adrian.B.Robert@gmail.com> | 2010-07-13 13:41:49 +0300 |
commit | 79cb9c05a1cfe80eb035c54f2036320de88c3056 (patch) | |
tree | 6814851a8779622bc8b5af7ae2e0d20732c8809e /lisp/term/ns-win.el | |
parent | 01faa93498c3f0430821a0302911422e916fd6de (diff) | |
download | emacs-79cb9c05a1cfe80eb035c54f2036320de88c3056.tar.gz emacs-79cb9c05a1cfe80eb035c54f2036320de88c3056.tar.bz2 emacs-79cb9c05a1cfe80eb035c54f2036320de88c3056.zip |
term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew Dempsky; bug#5084). Remove incorrect binding for S-tab. (ns-alternatives-map): Change S-tab binding to backtab (bug#6616). * simple.el (normal-erase-is-backspace-setup-frame): Set mode on under ns.
Diffstat (limited to 'lisp/term/ns-win.el')
-rw-r--r-- | lisp/term/ns-win.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index a53d0346d94..f73b3d7e67e 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el @@ -186,14 +186,11 @@ The properties returned may include `top', `left', `height', and `width'." ;;;; Keyboard mapping. -;; These tell read-char how to convert these special chars to ASCII. -(put 'S-tab 'ascii-character (logior 16 ?\t)) - (defvar ns-alternatives-map (let ((map (make-sparse-keymap))) ;; Map certain keypad keys into ASCII characters ;; that people usually expect. - (define-key map [S-tab] [25]) + (define-key map [S-tab] [backtab]) (define-key map [M-backspace] [?\M-\d]) (define-key map [M-delete] [?\M-\d]) (define-key map [M-tab] [?\M-\t]) @@ -208,6 +205,7 @@ The properties returned may include `top', `left', `height', and `width'." (define-key global-map [?\s-,] 'customize) (define-key global-map [?\s-'] 'next-multiframe-window) (define-key global-map [?\s-`] 'other-frame) +(define-key global-map [?\s-~] 'ns-prev-frame) (define-key global-map [?\s--] 'center-line) (define-key global-map [?\s-:] 'ispell) (define-key global-map [?\s-\;] 'ispell-next) |