[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 ee21b40: * lisp/term/w32-win.el ([noname]): Bind
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 ee21b40: * lisp/term/w32-win.el ([noname]): Bind to 'ignore'. (Bug#36083) |
Date: |
Thu, 6 Jun 2019 09:29:10 -0400 (EDT) |
branch: emacs-26
commit ee21b402d75c1fb0d6c09dc9f8a02f2bff0325f6
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
* lisp/term/w32-win.el ([noname]): Bind to 'ignore'. (Bug#36083)
---
lisp/term/w32-win.el | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index 39f393f..12c3e97 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -170,6 +170,15 @@ the last file dropped is selected."
;; new layout/language selected by the user.
(global-set-key [language-change] 'ignore)
+;; Some Windows applications send the 'noname' (VK_NONAME) pseudo-key
+;; to prevent Windows from sleeping. We want to ignore these key
+;; events, to avoid annoying users by ringing the bell and announcing
+;; that the key is not bound.
+(global-set-key [noname] 'ignore)
+(global-set-key [C-noname] 'ignore)
+(global-set-key [M-noname] 'ignore)
+
+
(defvar x-resource-name)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 ee21b40: * lisp/term/w32-win.el ([noname]): Bind to 'ignore'. (Bug#36083),
Eli Zaretskii <=