summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-05-25 08:03:06 -0500
committerCase Duckworth2021-05-25 08:03:06 -0500
commitf148e93b0ecb1c3637bbc33eb6cec20f6bd21a16 (patch)
tree5308e5fb7e1bd44c982606e4e199b8850b41713d /init.el
parentFix new window handling with browse-url (diff)
downloademacs-f148e93b0ecb1c3637bbc33eb6cec20f6bd21a16.tar.gz
emacs-f148e93b0ecb1c3637bbc33eb6cec20f6bd21a16.zip
Use escape to quit in graphical sessions
Diffstat (limited to 'init.el')
-rw-r--r--init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.el b/init.el index 5865154..1c12763 100644 --- a/init.el +++ b/init.el
@@ -717,6 +717,9 @@
717 "<help> h" nil ; HELLO takes a long time to load on Windows 717 "<help> h" nil ; HELLO takes a long time to load on Windows
718 ) 718 )
719 719
720 (when (display-graphic-p)
721 (:global "<escape>" keyboard-escape-quit))
722
720 ;; Remap C-h to DEL -- <f1> can be the "help" key 723 ;; Remap C-h to DEL -- <f1> can be the "help" key
721 (define-key key-translation-map [?\C-h] [?\C-?]) 724 (define-key key-translation-map [?\C-h] [?\C-?])
722 725