aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Prompt.hs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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