Subject: bug#5084: 23.1.50; Emacs.app doesn't follow Cmd-~ convention on Mac OS X

From: Matthew Dempsky <[email-masked]>
Date: Mon, 30 Nov 2009 15:22:36 -0800

On Mac OS X, it's standard for Cmd-~ to cycle backwards through
windows.  The patch below makes Emacs.app follow this convention too.

Currently Cmd-~ is not bound to anything.

--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -208,6 +208,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)