From: Eli Zaretskii Date: Thu, 14 Dec 2000 16:51:52 +0000 (+0000) Subject: (delete-key-deletes-forward-mode): Treat ms-dos and X-Git-Tag: emacs-pretest-21.0.95~516 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=13a9eed7d93238fb954273ce10f847571016e73c;p=emacs.git (delete-key-deletes-forward-mode): Treat ms-dos and windows-nt as windowed environments, even under -nw. --- 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)