From 687c898c550d23fc82476d9de18fa217c7f4e0d1 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Tue, 25 Mar 2008 16:57:07 +0000 Subject: [PATCH] XMonad.Actions.Commands: documentation fix --- XMonad/Actions/Commands.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/XMonad/Actions/Commands.hs b/XMonad/Actions/Commands.hs index eb7d1e90..7dc7f8d4 100644 --- a/XMonad/Actions/Commands.hs +++ b/XMonad/Actions/Commands.hs @@ -41,16 +41,16 @@ import Data.Maybe -- -- Then add a keybinding to the runCommand action: -- --- > , ((modMask x .|. controlMask, xK_y), runCommand commands) +-- > , ((modMask x .|. controlMask, xK_y), commands >>= runCommand) -- -- and define the list of commands you want to use: -- --- > commands :: [(String, X ())] +-- > commands :: X [(String, X ())] -- > commands = defaultCommands -- -- Whatever key you bound to will now cause a popup menu of internal --- xmonad commands to appear. You can change the commands by --- changing the contents of the list 'commands'. (If you like it +-- xmonad commands to appear. You can change the commands by changing +-- the contents of the list returned by 'commands'. (If you like it -- enough, you may even want to get rid of many of your other key -- bindings!) --