editor: Make kill ring cut at EOF a no-op (#39069)
Release Notes: - Emacs's kill ring cut at the end of the last line of the file will now no-op instead of cutting the entire line
This commit is contained in:
@@ -12338,7 +12338,7 @@ impl Editor {
|
||||
}
|
||||
});
|
||||
});
|
||||
let item = self.cut_common(true, window, cx);
|
||||
let item = self.cut_common(false, window, cx);
|
||||
cx.set_global(KillRing(item))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user