I would like to use C-k
to delete a line without sending it to the kill-ring
.
I have the following on my .emacs
file
(delete-selection-mode 1)
but this only seems to work for C-d
(delete-char
)
I have also read the solutions described in this thread: Emacs: how to delete text without kill ring?, but I didn't see anything that addresses this precise problem.
Best Answer
Maybe this is not the best solution, but it seems works. You may need to bind `delete-line' to some global key, such as