aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/edit.ml
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-05-04 16:58:20 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-05-04 16:58:20 +0000
commit783bdffba901a29027878f41e10b6bcfe406100f (patch)
tree9c06d41adc21f0306e612d0897eb80667c0bf8b4 /lib/edit.ml
parentffafed95378e41b4c0ad57ab1c5664d3387a11d9 (diff)
Nettoyage de l'interface de Pfedit
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@415 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib/edit.ml')
-rw-r--r--lib/edit.ml2
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)