aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorgwern0 <gwern0@gmail.com>2008-04-01 04:20:12 +0200
committergwern0 <gwern0@gmail.com>2008-04-01 04:20:12 +0200
commit601ec184de8ea6a603fe4a57047cba264b8fbd0f (patch)
tree55788f7fcf9baa82820de725ce24ddfd4d768387 /XMonad
parent8ae290915a5af214b0151ab1c5219d9f9d465031 (diff)
downloadXMonadContrib-601ec184de8ea6a603fe4a57047cba264b8fbd0f.tar.gz
XMonadContrib-601ec184de8ea6a603fe4a57047cba264b8fbd0f.tar.xz
XMonadContrib-601ec184de8ea6a603fe4a57047cba264b8fbd0f.zip
forgot a haddock for getEditor in Shell.hs
darcs-hash:20080401022012-f7719-daae98e66ffd31b165a997b82f67d2a0a4d390a4.gz
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Prompt/Shell.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/XMonad/Prompt/Shell.hs b/XMonad/Prompt/Shell.hs
index be928ee..c659787 100644
--- a/XMonad/Prompt/Shell.hs
+++ b/XMonad/Prompt/Shell.hs
@@ -139,5 +139,6 @@ env variable fallthrough = getEnv variable `catch` \_ -> return fallthrough
getBrowser :: IO String
getBrowser = env "BROWSER" "firefox"
+-- | Like 'getBrowser', but should be of a text editor. This gets the $EDITOR variable, defaulting to \"emacs\".
getEditor :: IO String
getEditor = env "EDITOR" "emacs" \ No newline at end of file