summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-07-05 12:27:25 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-09 11:11:58 -0400
commitfc183c9026284ebd70dfd0a0a6682b9b7a96a676 (patch)
tree0799e86be875b870eb4d522020a683ea63acf10e /ghc
parent3609a4781f351fdef8f0987c62d72c4e8bb81959 (diff)
downloadhaskell-fc183c9026284ebd70dfd0a0a6682b9b7a96a676.tar.gz
Enable :edit command in ghci multi-mode.
This works after the last change to isLoaded. Ticket #20888
Diffstat (limited to 'ghc')
-rw-r--r--ghc/GHCi/UI.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs
index 82f2109ec2..3de05f707d 100644
--- a/ghc/GHCi/UI.hs
+++ b/ghc/GHCi/UI.hs
@@ -212,7 +212,7 @@ ghciCommands = map mkCmd [
("delete", keepGoing deleteCmd, noCompletion),
("disable", keepGoing disableCmd, noCompletion),
("doc", keepGoing' docCmd, completeIdentifier),
- ("edit", keepGoing' editFile, completeFilename),
+ ("edit", keepGoingMulti' editFile, completeFilename),
("enable", keepGoing enableCmd, noCompletion),
("etags", keepGoing createETagsFileCmd, completeFilename),
("force", keepGoing forceCmd, completeExpression),