From: Devon Sean McCullough Date: Thu, 24 Aug 2017 20:08:16 +0000 (+0100) Subject: Correct "hide others" shortcut on macOS (bug#28215) X-Git-Tag: emacs-26.0.90~298 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=36df2f1b23b26182978915beccd20a4adb23d51b;p=emacs.git Correct "hide others" shortcut on macOS (bug#28215) * lisp/term/ns-win.el: Fix shortcut for ns-do-hide-others. Copyright-paperwork-exempt: yes --- diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index 88483606550..cfce83f8921 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el @@ -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)