src/Pure/System/isabelle_system.ML
changeset 71912 b9fbc93f3a24
parent 71911 d25093536482
child 72375 e48d93811ed7
--- a/src/Pure/System/isabelle_system.ML	Wed May 27 20:38:59 2020 +0200
+++ b/src/Pure/System/isabelle_system.ML	Wed May 27 20:51:25 2020 +0200
@@ -52,8 +52,8 @@
   |> split_lines |> map_filter (space_explode " " #> try List.last);
 
 fun check_bash_function ctxt arg =
-  Completion.check_item Markup.bash_functionN (Markup.bash_function o #1)
-    (bash_functions () |> map (rpair ())) ctxt arg;
+  Completion.check_entity Markup.bash_functionN
+    (bash_functions () |> map (rpair Position.none)) ctxt arg;
 
 
 (* directory operations *)