aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions/Search.hs
diff options
context:
space:
mode:
authorAdam Vogt <vogt.adam@gmail.com>2009-06-24 06:38:31 +0200
committerAdam Vogt <vogt.adam@gmail.com>2009-06-24 06:38:31 +0200
commit638047c27ac8913a365fa55f4ba0758606d4fd6c (patch)
tree7d08a2ebc7603ec6f1e66856aeb32ed966c4666e /XMonad/Actions/Search.hs
parent36fe458e23e119cd91c09f6ec66fe487eebec839 (diff)
downloadXMonadContrib-638047c27ac8913a365fa55f4ba0758606d4fd6c.tar.gz
XMonadContrib-638047c27ac8913a365fa55f4ba0758606d4fd6c.tar.xz
XMonadContrib-638047c27ac8913a365fa55f4ba0758606d4fd6c.zip
Use -fwarn-tabs for test, remove tabs
Ignore-this: 84dfa0d9d50826527abbe7ff6acf4465 darcs-hash:20090624043831-1499c-2086e714723091fae9e3697df370a0634152f0a4.gz
Diffstat (limited to 'XMonad/Actions/Search.hs')
-rw-r--r--XMonad/Actions/Search.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/XMonad/Actions/Search.hs b/XMonad/Actions/Search.hs
index 257cd27..c2c2a05 100644
--- a/XMonad/Actions/Search.hs
+++ b/XMonad/Actions/Search.hs
@@ -336,8 +336,8 @@ removeColonPrefix str = tail $ snd $ break (==':') str
{- | Makes a search engine prefix-aware. Especially useful together with '!>'.
It will automatically remove the prefix from a query so that you don\'t end
- up searching for google:xmonad if google is your fallback engine and you
- explicitly add the prefix. -}
+ up searching for google:xmonad if google is your fallback engine and you
+ explicitly add the prefix. -}
prefixAware :: SearchEngine -> SearchEngine
prefixAware (SearchEngine name site) = SearchEngine name (\s -> if s `hasPrefix` (name++":") then site $ removeColonPrefix s else site s)