summaryrefslogtreecommitdiff
path: root/src-3.0/GFI.hs
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@chalmers.se>2008-06-05 12:12:44 +0000
committerkr.angelov <kr.angelov@chalmers.se>2008-06-05 12:12:44 +0000
commitc4d298a347bace37c4fe06fa0e1a4668b92028ed (patch)
tree30066e202c04a25a8d651a7f817f4ffe62b9c7dd /src-3.0/GFI.hs
parentabea46022ef35df493a8d78f56f5e9211150c54b (diff)
file name completion for command i
Diffstat (limited to 'src-3.0/GFI.hs')
-rw-r--r--src-3.0/GFI.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-3.0/GFI.hs b/src-3.0/GFI.hs
index ba26eb667..0a8751c58 100644
--- a/src-3.0/GFI.hs
+++ b/src-3.0/GFI.hs
@@ -133,6 +133,8 @@ wordCompletion cmdEnv line prefix p =
ret (if null flg_compls then ' ' else '=')
(flg_compls++opt_compls)
Nothing -> ret ' ' []
+ CmplIdent (Just (Command "i" _ _)) _ -- HACK: file name completion for command i
+ -> filenameCompletionFunction prefix
CmplIdent _ pref
-> do mb_abs <- try (evaluate (abstract pgf))
case mb_abs of