aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vogt <vogt.adam@gmail.com>2011-05-27 05:28:54 +0200
committerAdam Vogt <vogt.adam@gmail.com>2011-05-27 05:28:54 +0200
commit5df8e0f8dedcf0feb1a7d4d5aab5ce10818f9030 (patch)
tree47f68362ba6c240eb55b7da149d8e2b1f7ec5e90
parent2f7793303bf96800eff96df3531fbb6eb261a9e2 (diff)
downloadXMonadContrib-5df8e0f8dedcf0feb1a7d4d5aab5ce10818f9030.tar.gz
XMonadContrib-5df8e0f8dedcf0feb1a7d4d5aab5ce10818f9030.tar.xz
XMonadContrib-5df8e0f8dedcf0feb1a7d4d5aab5ce10818f9030.zip
X.A.AppendFile documentation fix.
Ignore-this: 1ee126ddba1b06d07fba86ca43f74ab8 Forgotten > means haddock complained (and generated incorrect output). More controversially I reworded a sentence and use do notation. darcs-hash:20110527032854-1499c-b161b4dbab152c06532e3f2cb7d1922987123aa3.gz
-rw-r--r--XMonad/Prompt/AppendFile.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/XMonad/Prompt/AppendFile.hs b/XMonad/Prompt/AppendFile.hs
index 0adcd26..945c8de 100644
--- a/XMonad/Prompt/AppendFile.hs
+++ b/XMonad/Prompt/AppendFile.hs
@@ -47,10 +47,12 @@ import Control.Exception.Extensible (bracket)
-- example, to preface notes with the time they were made, one could write a
-- binding like
--
--- > , ((modm .|. controlMask, xK_n), spawn ("date>>"++"/home/me/NOTES") >> appendFilePrompt
--- defaultXPConfig "/home/me/NOTES"
+-- > , ((modm .|. controlMask, xK_n), do
+-- > spawn ("date>>"++"/home/me/NOTES")
+-- > appendFilePrompt defaultXPConfig "/home/me/NOTES"
+-- > )
--
--- (And vice-versa to append the time instead.)
+-- (Put the spawn on the line after the prompt to append the time instead.)
--
-- For detailed instructions on editing your key bindings, see
-- "XMonad.Doc.Extending#Editing_key_bindings".