unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bind s-~ to ns-prev-frame for Emacs.app
@ 2009-11-27  9:41 Matthew Dempsky
  2009-11-30 22:03 ` Matthew Dempsky
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Dempsky @ 2009-11-27  9:41 UTC (permalink / raw)
  To: emacs-devel

On OS X, it's standard for Cmd-~ to cycle backwards through windows.
Patch below makes Emacs.app follow this convention too.  (Currently
it's 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)




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-30 23:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-27  9:41 Bind s-~ to ns-prev-frame for Emacs.app Matthew Dempsky
2009-11-30 22:03 ` Matthew Dempsky
2009-11-30 23:01   ` Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).