]> git.eshelyaron.com Git - emacs.git/commitdiff
Correct "hide others" shortcut on macOS (bug#28215)
authorDevon Sean McCullough <Emacs-Hacker2017@jovi.net>
Thu, 24 Aug 2017 20:08:16 +0000 (21:08 +0100)
committerAlan Third <alan@idiocy.org>
Wed, 30 Aug 2017 18:18:17 +0000 (19:18 +0100)
* lisp/term/ns-win.el: Fix shortcut for ns-do-hide-others.

Copyright-paperwork-exempt: yes

lisp/term/ns-win.el

index 884836065501360786a01614d21d7629801c0b2c..cfce83f89213401168746fee952cb12530e7d2ed 100644 (file)
@@ -124,6 +124,8 @@ The properties returned may include `top', `left', `height', and `width'."
 (define-key global-map [?\s-g] 'isearch-repeat-forward)
 (define-key global-map [?\s-h] 'ns-do-hide-emacs)
 (define-key global-map [?\s-H] 'ns-do-hide-others)
+(define-key global-map [?\M-\s-h] 'ns-do-hide-others)
+(define-key key-translation-map [?\M-\s-\u02D9] [?\M-\s-h])
 (define-key global-map [?\s-j] 'exchange-point-and-mark)
 (define-key global-map [?\s-k] 'kill-current-buffer)
 (define-key global-map [?\s-l] 'goto-line)