       options: @processOptions(@getRootDir(buffer).getPath())
       command: 'info'
       uri: buffer.getUri()
-      text: buffer.getText()
+      text: buffer.getText() if buffer.isModified()
       args: ["", symbol]
       callback: (lines) ->
         text = lines.join('\n')

            else
              'error'
          results.push
            uri: file
            position: new Point(row-1, col-1),
            message: line.replace(m,'')
            severity: severity

            line.match(/^(.*?):([0-9]+):([0-9]+): *(?:(Warning|Error): *)?/)
          unless match?
            console.log("Ghc-Mod says: #{line}")
            line = "#{buffer.getUri()}:0:0:Error: #{line}"
            match=
              line.match(/^(.*?):([0-9]+):([0-9]+): *(?:(Warning|Error): *)?/)
          [m,file,row,col,warning] = match
          severity =
            if cmd=='lint'
