;;; FILE:     .emacs -*- lisp -*-
;;; ABSTRACT: Startup file for GNU Emacs

;;; Put backup files not in my directories
(setq backup-directory-alist `(("." . ,(expand-file-name "~/.emacs-backup"))))

;;; use a-spell instead of ispell... is aspell better?
(setq-default ispell-program-name "aspell")

(global-set-key "\C-x\C-e" 'compile)
(global-set-key "\C-x\C-g" 'goto-line)
;; setup function keys
(global-set-key [f1] 'compile)
(global-set-key [f2] 'next-error)
(global-set-key [f3] 'manual-entry)

(display-time)

(setq compile-command "make ")

(cond (window-system
       (transient-mark-mode nil)

       (global-font-lock-mode t)
       (setq font-lock-maximum-decoration
             '((perl-mode . 3) (makefile-mode . 3) (c++-mode . 3) (shell-script-mode . 3)  (latex-mode . 4) )
             )
  ) ; window-system
)


syntax highlighted by Code2HTML, v. 0.9.1