emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 36df2f1: Correct "hide others" shortcut on macOS (b


From: Alan Third
Subject: [Emacs-diffs] master 36df2f1: Correct "hide others" shortcut on macOS (bug#28215)
Date: Wed, 30 Aug 2017 14:21:57 -0400 (EDT)

branch: master
commit 36df2f1b23b26182978915beccd20a4adb23d51b
Author: Devon Sean McCullough <address@hidden>
Commit: Alan Third <address@hidden>

    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 8848360..cfce83f 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]