purcell/whole-line-or-region

Appending wrong to kill-ring

moyamo opened this issue · 1 comments

In version 1.3.1 if you had a buffer (where | is the cursor).

|Line 1
Line 2

Then typing C-w C-w C-y (kill two lines, then paste killed lines) would leave the buffer unchanged (as it should).

However in the master branch this currently results in

Line 2Line1

It doesn't append the newlines and it appends in the wrong order.

From what I can tell this bug was introduced in this range of commits a60e022...d840fbc

Sorry it took so long to get to this: the bug is now fixed. :-)