* lisp/frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
authorJuri Linkov <juri@jurta.org>
Mon, 21 Jan 2013 10:45:20 +0000 (12:45 +0200)
committerJuri Linkov <juri@jurta.org>
Mon, 21 Jan 2013 10:45:20 +0000 (12:45 +0200)
in addition to existing separate binding `meta f10' in `global-map'.

Fixes: debbugs:13484

lisp/ChangeLog
lisp/frame.el

index 0337982..194c76b 100644 (file)
@@ -1,3 +1,9 @@
+2013-01-21  Juri Linkov  <juri@jurta.org>
+
+       * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
+       in addition to existing separate binding `meta f10' in `global-map'.
+       (Bug#13484)
+
 2013-01-21  Michael Albinus  <michael.albinus@gmx.de>
 
        Improve XEmacs compatibility.
index 243f524..2c17b78 100644 (file)
@@ -1707,6 +1707,7 @@ See also `toggle-frame-maximized'."
 (define-key ctl-x-5-map "o" 'other-frame)
 (define-key global-map [f11] 'toggle-frame-fullscreen)
 (define-key global-map [(meta f10)] 'toggle-frame-maximized)
+(define-key esc-map    [f10]        'toggle-frame-maximized)
 
 \f
 ;; Misc.