simplify the logic of end-of-this.
fix bug when only one buffer left in my-backward-buffer.