summaryrefslogtreecommitdiff
path: root/Command/VCycle.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-11-17 12:56:27 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-11-17 12:56:27 -0400
commit3a6c9ad7d00c6795faefcacbc42dc57d26aecd61 (patch)
treea03564275f6a9532fe487353c04b1c0cf7659a0d /Command/VCycle.hs
parenta5584e1a61861dff0835f7ea4e366e393c0fd294 (diff)
parent2286c5acb4b3917a71067264cc1075638848d340 (diff)
Merge branch 'master' into tor
Diffstat (limited to 'Command/VCycle.hs')
-rw-r--r--Command/VCycle.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/VCycle.hs b/Command/VCycle.hs
index 20fc9a22a..28326e16f 100644
--- a/Command/VCycle.hs
+++ b/Command/VCycle.hs
@@ -25,7 +25,7 @@ seek = withNothing start
start ::CommandStart
start = go =<< currentView
where
- go Nothing = error "Not in a view."
+ go Nothing = giveup "Not in a view."
go (Just v) = do
showStart "vcycle" ""
let v' = v { viewComponents = vcycle [] (viewComponents v) }