comparison .elisp/settings/50.preferences.el @ 77:45d7441d0cf2

Modularize .emacs
author Augie Fackler <durin42@gmail.com>
date Thu, 09 Apr 2009 13:39:20 -0500
parents
children f013f40e7b63
comparison
equal deleted inserted replaced
76:2b2a667092fd 77:45d7441d0cf2
1 ;; All lines should end in a newline
2 (setq require-final-newline t)
3
4 ;; disable tabs
5 (setq tab-width 4)
6 (setq-default indent-tabs-mode nil)
7
8 ;; Cleanup whitespace before saves.
9 (add-hook 'before-save-hook '(lambda ()
10 (if af-cleanup-whitespace (whitespace-cleanup))))
11
12 ;; Disable that startup screen
13 (setq inhibit-startup-message t)
14
15 ;; Basically everything I do is in version control, stop saving backup files
16 (setq make-backup-files nil)
17
18 ;; Set some pretty colors that are gentler on my eyes
19 (setq default-frame-alist
20 '((width . 80)
21 (cursor-color . "white")
22 (cursor-type . box)
23 (foreground-color . "white")
24 (background-color . "black")
25 )
26 )
27 ; always highlight matching paren
28 (show-paren-mode 1)
29
30 ;; Automatically revert unedited files that change on the underlying
31 ;; system.
32 (global-auto-revert-mode)