Emacs: how to delete text without kill ring?

后端 未结 15 1061
旧巷少年郎
旧巷少年郎 2020-12-04 14:00

I\'d like to just delete some text so I can yank some other text instead of it. How can I do that? C-w cuts the selected text to kill ring and I end up with

15条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 15:02

    M-x eval-expression (setq kill-ring (cdr kill-ring)) - removes last item from kill-ring

提交回复
热议问题