|
From: | John Haman |
Subject: | Re: Make <delete> save the deleted text into the killing ring |
Date: | Wed, 14 Dec 2022 14:52:13 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
The function `delete-forward-char' takes an optional argument, killflag. Maybe OP could use something like ```emacs-lisp (define-key global-map (kbd "<delete>") #'(lambda () (interactive) (delete-forward-char 1 t))) ``` -- Dr. John Haman Maryland, USA
[Prev in Thread] | Current Thread | [Next in Thread] |