src/Pure/PIDE/document.ML
changeset 76417 e937d14b58e2
parent 76415 f362975e8ba1
child 76424 ae62064849f0
equal deleted inserted replaced
76416:22746dfa75a1 76417:e937d14b58e2
   681               SOME (eval, prints) =>
   681               SOME (eval, prints) =>
   682                 let
   682                 let
   683                   val command_visible = visible_command node command_id;
   683                   val command_visible = visible_command node command_id;
   684                   val command_overlays = overlays node command_id;
   684                   val command_overlays = overlays node command_id;
   685                   val command_name = the_command_name state command_id;
   685                   val command_name = the_command_name state command_id;
       
   686                   val command_print =
       
   687                     Command.print command_visible command_overlays keywords command_name eval prints;
   686                 in
   688                 in
   687                   (case
   689                   (case command_print of
   688                     Command.print command_visible command_overlays keywords command_name eval prints
       
   689                    of
       
   690                     SOME prints' => assign_update_new (command_id, SOME (eval, prints'))
   690                     SOME prints' => assign_update_new (command_id, SOME (eval, prints'))
   691                   | NONE => I)
   691                   | NONE => I)
   692                 end
   692                 end
   693             | NONE => I);
   693             | NONE => I);
   694         in SOME (prev, ok', flags', assign_update') end
   694         in SOME (prev, ok', flags', assign_update') end