diff options
| -rw-r--r-- | lisp/startup.el | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 18e33f2e3e9..12097f5fe8f 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -835,18 +835,7 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." | |||
| 835 | ;; We do this regardles of whether the terminal supports colors | 835 | ;; We do this regardles of whether the terminal supports colors |
| 836 | ;; or not, since they can switch that support on or off in | 836 | ;; or not, since they can switch that support on or off in |
| 837 | ;; mid-session by setting the tty-color-mode frame parameter. | 837 | ;; mid-session by setting the tty-color-mode frame parameter. |
| 838 | (let* ((colors (cond ((eq window-system 'pc) | 838 | (tty-register-default-colors)) |
| 839 | msdos-color-values) | ||
| 840 | ((eq system-type 'windows-nt) | ||
| 841 | w32-tty-standard-colors) | ||
| 842 | (t tty-standard-colors))) | ||
| 843 | (color (car colors))) | ||
| 844 | (while colors | ||
| 845 | (tty-color-define (car color) (cadr color) (cddr color)) | ||
| 846 | (setq colors (cdr colors) color (car colors))) | ||
| 847 | ;; Modifying color mappings means realized faces don't | ||
| 848 | ;; use the right colors, so clear them. | ||
| 849 | (clear-face-cache))) | ||
| 850 | 839 | ||
| 851 | ;; Record whether the tool-bar is present before the user and site | 840 | ;; Record whether the tool-bar is present before the user and site |
| 852 | ;; init files are processed. frame-notice-user-settings uses this | 841 | ;; init files are processed. frame-notice-user-settings uses this |