From 13a9eed7d93238fb954273ce10f847571016e73c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 14 Dec 2000 16:51:52 +0000 Subject: [PATCH] (delete-key-deletes-forward-mode): Treat ms-dos and windows-nt as windowed environments, even under -nw. --- lisp/simple.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index ed642184d8f..b145a4a0f92 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4050,7 +4050,8 @@ For more details, see `delete-key-deleted-forward'." (> (prefix-numeric-value arg) 0) (not delete-key-deletes-forward))) - (cond ((memq window-system '(x w32 mac)) + (cond ((or (memq window-system '(x w32 mac pc)) + (memq system-type '(ms-dos windows-nt))) (if delete-key-deletes-forward (progn (define-key global-map [delete] 'delete-char) -- 2.39.2