diff options
author | Andrea Rossato <andrea.rossato@unibz.it> | 2007-08-06 00:59:06 +0200 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@unibz.it> | 2007-08-06 00:59:06 +0200 |
commit | 8dbe4a1e7b72fb5bfc91e24d355de7216d5d3ef3 (patch) | |
tree | 66cf311941bb7e636437660de337783b42af7745 /XPrompt.hs | |
parent | 284785d88d69df409de5823dd330d9d1f6e055a2 (diff) | |
download | XMonadContrib-8dbe4a1e7b72fb5bfc91e24d355de7216d5d3ef3.tar.gz XMonadContrib-8dbe4a1e7b72fb5bfc91e24d355de7216d5d3ef3.tar.xz XMonadContrib-8dbe4a1e7b72fb5bfc91e24d355de7216d5d3ef3.zip |
XPrompt: removed touchFile (which is not the equivalent of touch!)
darcs-hash:20070805225906-32816-0f38508090df958660a6399ee3281037d3c7b131.gz
Diffstat (limited to 'XPrompt.hs')
-rw-r--r-- | XPrompt.hs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -550,8 +550,7 @@ readHistory = do [(hist,_)] -> return (hist,h) [] -> return ([],h) _ -> return ([],h) - else do touchFile path - h <- openFile path ReadMode + else do h <- openFile path WriteMode return ([],h) writeHistory :: Handle -> [History] -> IO () |