src/Tools/jEdit/src/jedit/document_model.scala
changeset 39636 610dc743932c
parent 39179 591bbab9ef59
child 40474 576b88b1dce9
     1.1 --- a/src/Tools/jEdit/src/jedit/document_model.scala	Fri Sep 24 00:00:21 2010 +0200
     1.2 +++ b/src/Tools/jEdit/src/jedit/document_model.scala	Fri Sep 24 14:12:33 2010 +0200
     1.3 @@ -98,7 +98,7 @@
     1.4    {
     1.5      Swing_Thread.require()
     1.6      apply(buffer) match {
     1.7 -      case None => error("No document model for buffer: " + buffer)
     1.8 +      case None =>
     1.9        case Some(model) =>
    1.10          model.deactivate()
    1.11          buffer.unsetProperty(key)