[wip] make patch model use `nextLayeredBuffer`
[wip] make patch model use `nextLayeredBuffer`

not sure why getBuffer() sometimes does not work, but 
nextLayeredBuffer.buffer does...

atom/github,atom/github,atom/github