Mercurial > dotfiles
annotate .elisp/settings/90.colors.el @ 354:3d46ce32c14e
which-function-mode: only enable in emacs 24.4 and later
Emacs 24.3.x has a bug in which-function-mode that causes my emacs to
lock up for several seconds. Rather than tolerate that, just disable
which-function-mode on those systems.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 18 Nov 2014 17:17:36 -0500 |
parents | 198b3cb99677 |
children | 27e8ad5acedf |
rev | line source |
---|---|
217
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
1 ;; custom color scheme |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
2 (setq default-frame-alist |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
3 '((width . 80) |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
4 (cursor-color . "white") |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
5 (cursor-type . box) |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
6 (foreground-color . "white") |
296
198b3cb99677
emacs: clean up new frame initialization thanks to slb
Augie Fackler <raf@durin42.com>
parents:
217
diff
changeset
|
7 (background-color . "black") |
198b3cb99677
emacs: clean up new frame initialization thanks to slb
Augie Fackler <raf@durin42.com>
parents:
217
diff
changeset
|
8 (tool-bar-lines . 0) |
198b3cb99677
emacs: clean up new frame initialization thanks to slb
Augie Fackler <raf@durin42.com>
parents:
217
diff
changeset
|
9 ) |
198b3cb99677
emacs: clean up new frame initialization thanks to slb
Augie Fackler <raf@durin42.com>
parents:
217
diff
changeset
|
10 initial-frame-alist default-frame-alist) |
217
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
11 |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
12 ;; tell ipython we have a dark background |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
13 (setq py-python-command-args (quote ("-i"))) |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
14 |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
15 (set-face-foreground 'magit-diff-add "DarkGreen") |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
16 (set-face-background 'magit-item-highlight "grey19") |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
17 |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
18 (set-face-background 'whitespace-line "red4") |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
19 (set-face-background 'whitespace-tab "tan") |
e4842709368a
emacs: move colors to their own file and migrate to whitespace from wspace
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
20 (set-face-background 'whitespace-trailing "red") |