sublime-emacs/sublemacspro

Zap-to-char keeps adding to the kill ring even when the cursor has changed locations.

excetara2 opened this issue · 0 comments

I am not sure if this affects other functions but zap-to-char once the cursor is moved shouldn't keep adding to the kill ring but should create a new kill ring entry.

This is also affected if other commands were run before zap-to-char. For example, alt+d alt+d alt+d alt+f alt+f alt+z .

Basically you delete some words. Move the cursor somewhere else. Run zap-to-char to whatever. It will add that to the previous kill. The checks for whether it should add to the current kill ring or create a new one are wrong.