changeset 34570:f6aeb731a068

(delete-key-deletes-forward-mode): Treat ms-dos and windows-nt as windowed environments, even under -nw.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 14 Dec 2000 16:51:52 +0000
parents 51d2fcdc53a9
children f6d5258c61db
files lisp/simple.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Thu Dec 14 16:51:13 2000 +0000
+++ b/lisp/simple.el	Thu Dec 14 16:51:52 2000 +0000
@@ -4050,7 +4050,8 @@
 	    (> (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)