From be4f1e412ab158ba93ff2f3d514159bb812231a2 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 31 Jan 2001 15:05:25 +0000 Subject: [PATCH] (delete-key-deletes-forward-mode): Treat `kp-delete' like `delete'. --- lisp/simple.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/simple.el b/lisp/simple.el index 092dfad5f16..9078e6aa21e 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4067,8 +4067,10 @@ For more details, see `delete-key-deletes-forward'." (if delete-key-deletes-forward (progn (define-key function-key-map [delete] [?\C-d]) + (define-key function-key-map [kp-delete] [?\C-d]) (define-key function-key-map [backspace] [?\C-?])) (define-key function-key-map [delete] [?\C-?]) + (define-key function-key-map [kp-delete] [?\C-?]) (define-key function-key-map [backspace] [?\C-?])) (dolist (binding bindings) -- 2.39.2