branch: externals/ergoemacs-mode
commit df8d4253c44aee607308826093222188c4732099
Author: Matt Fidler <[email protected]>
Commit: Matt Fidler <[email protected]>
Add alt+f4
---
ergoemacs-themes.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el
index 1ad279c38e..0bb48341e9 100644
--- a/ergoemacs-themes.el
+++ b/ergoemacs-themes.el
@@ -380,7 +380,9 @@ These keys do not depend on the layout."
(define-key keymap (kbd "C-x <ergoemacs-timeout>")
'ergoemacs-cut-line-or-region)
(define-key keymap (kbd "C-c <ergoemacs-timeout>")
'ergoemacs-copy-line-or-region)
- (define-key keymap (kbd "C-h '") 'ergoemacs-describe-current-theme))
+ (define-key keymap (kbd "C-h '") 'ergoemacs-describe-current-theme)
+ (when (eq system-type 'windows-nt)
+ (define-key keymap (kbd "<M-f4>") 'kill-emacs)))
(defun ergoemacs-set-move-char (keymap)
"Movement by Characters & Set Mark for KEYMAP."