From 36df2f1b23b26182978915beccd20a4adb23d51b Mon Sep 17 00:00:00 2001 From: Devon Sean McCullough Date: Thu, 24 Aug 2017 21:08:16 +0100 Subject: [PATCH] Correct "hide others" shortcut on macOS (bug#28215) * lisp/term/ns-win.el: Fix shortcut for ns-do-hide-others. Copyright-paperwork-exempt: yes --- lisp/term/ns-win.el | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.2