[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cursor colour
From: |
Todd Wylie |
Subject: |
Re: Cursor colour |
Date: |
26 Sep 2002 08:36:27 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 |
>Another request: does anyone have a sample .emacs where the background
>colour is black and the syntax is nice... please
Here is a very simple .emacs example that will set bg black and cursor color
etc. -- it also tries to color syntax for major modes...
Good luck.
----------------------------------
;; DEFAULT COLORS
;; undo to return to normal white bg, black text, etc.
(set-foreground-color "grey")
(set-background-color "black")
(set-cursor-color "white")
;; AUTOMATICALLY FONT-LOCK FOR MAJOR MODES
(cond ((fboundp 'global-font-lock-mode)
;; Turn on font-lock in all modes that support it
(global-font-lock-mode t)
;; Maximum colors
(setq font-lock-maximum-decoration t)))