 
     @retokenizeLines()
 
-    @emit 'grammar-changed', grammar
+    @emit 'grammar-changed', grammar if Grim.includeDeprecations
     @emitter.emit 'did-change-grammar', grammar
 
   reloadGrammar: ->


  markTokenizationComplete: ->
    unless @fullyTokenized
      @emit 'tokenized'
      @emitter.emit 'did-tokenize'
    @fullyTokenized = true


      [startRow, endRow] = @updateFoldableStatus(startRow, endRow)

      event = {start: startRow, end: endRow, delta: 0}
      @emit 'changed', event if Grim.includeDeprecations
      @emitter.emit 'did-change', event

    if @firstInvalidRow()?
