diff options
Diffstat (limited to 'lib/edit.ml')
-rw-r--r-- | lib/edit.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/edit.ml b/lib/edit.ml index 7ff552ef6..ae54d71da 100644 --- a/lib/edit.ml +++ b/lib/edit.ml @@ -20,7 +20,7 @@ let focus e nd = | Some f -> if not (Hashtbl.mem e.buf f) then invalid_arg "Edit.focus" end; begin match e.focus with - | None -> () + | None -> if nd = None then warning "There is already no focused proof" | Some foc -> if e.focus <> nd then e.last_focused_stk <- foc::(list_except foc e.last_focused_stk) |