Mercurial > emacs
changeset 27522:65d84be1e92d
(command-line): Use w32-tty-standard-colors when in w32 console mode.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Sun, 30 Jan 2000 19:02:51 +0000 |
parents | 719f644e7cec |
children | e579cacc3f5d |
files | lisp/startup.el |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/startup.el Sun Jan 30 19:01:08 2000 +0000 +++ b/lisp/startup.el Sun Jan 30 19:02:51 2000 +0000 @@ -749,9 +749,11 @@ ;; terminal init file. (or (memq window-system '(x w32)) (not (tty-display-color-p)) - (let* ((colors (if (eq window-system 'pc) - msdos-color-values - tty-standard-colors)) + (let* ((colors (cond ((eq window-system 'pc) + msdos-color-values) + ((eq system-type 'windows-nt) + w32-tty-standard-colors) + (t tty-standard-colors))) (color (car colors))) (while colors (tty-color-define (car color) (cadr color) (cddr color))