aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2008-02-16 19:04:12 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2008-02-16 19:04:12 +0100
commita1974858cb367a2a222e9fdbb10fcff802b0893f (patch)
tree01f2e38411967e8dad113df2e2bae8bd724217d3 /XMonad
parent5c1e38576509b8988d1325c2d9c19ced4c5f0d58 (diff)
downloadXMonadContrib-a1974858cb367a2a222e9fdbb10fcff802b0893f.tar.gz
XMonadContrib-a1974858cb367a2a222e9fdbb10fcff802b0893f.tar.xz
XMonadContrib-a1974858cb367a2a222e9fdbb10fcff802b0893f.zip
Prompt: comment only (remove confusing remarks about commandToComplete)
darcs-hash:20080216180412-32816-2ab2805db2d6cb0207d3d0da64696f79eba9e180.gz
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Prompt.hs6
1 files changed, 2 insertions, 4 deletions
diff --git a/XMonad/Prompt.hs b/XMonad/Prompt.hs
index 8b58922..b56ce4b 100644
--- a/XMonad/Prompt.hs
+++ b/XMonad/Prompt.hs
@@ -135,10 +135,8 @@ class XPrompt t where
nextCompletion :: t -> String -> [String] -> String
nextCompletion t c l = getNextOfLastWord t c l
- -- | If the prompt is using 'getNextOfLastWord' for implementing
- -- 'nextCompletion' (the default implementation), this method is
- -- used to generate the string to be passed to the completion
- -- function.
+ -- | This method is used to generate the string to be passed to
+ -- the completion function.
commandToComplete :: t -> String -> String
commandToComplete _ c = getLastWord c