;; default to unified diffs (setq diff-switches "-u") ;; make no backups (setq make-backup-files nil) ;; to not get pesky work files (setq vc-cvs-stay-local nil) ;; indent with spaces (setq indent-tabs-mode nil) ;; ask before adding a final newline (setq require-final-newline nil) ;; Indent with tabs in CSS mode (add-hook 'css-mode-hook '(lambda () (setq indent-tabs-mode 't))) ;; Haskell mode (load "~/lib/emacs/haskell-mode/haskell-site-file") (add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan) ;; Emacs Load Path (setq load-path (cons "~/lib/emacs" load-path)) ;; GF mode (autoload 'run-gf "gf" nil t) (autoload 'gf-mode "gf" nil t) (add-to-list 'auto-mode-alist '("\\.gf\\(\\|e\\|r\\|cm?\\)\\'" . gf-mode)) (setq TeX-output-view-style (cons `("^pdf$" "." "/Users/bjorn/bin/preview-reload %o") TeX-output-view-style))