From 444986d99357650b7ab589b38bfd87565595c67e Mon Sep 17 00:00:00 2001 From: Matus Goljer Date: Sun, 16 Oct 2016 16:36:18 +0200 Subject: [PATCH] Remove unneeded argument --- XMonad/Actions/Submap.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XMonad/Actions/Submap.hs b/XMonad/Actions/Submap.hs index ec855802..b65ab858 100644 --- a/XMonad/Actions/Submap.hs +++ b/XMonad/Actions/Submap.hs @@ -59,7 +59,7 @@ For detailed instructions on editing your key bindings, see -- corresponding action, or does nothing if the key is not found in -- the map. submap :: M.Map (KeyMask, KeySym) (X ()) -> X () -submap keys = submapDefault (return ()) keys +submap = submapDefault (return ()) -- | Like 'submap', but executes a default action if the key did not match. submapDefault :: X () -> M.Map (KeyMask, KeySym) (X ()) -> X ()