cvsdist b39f9d
;; Aspell is a replacement for ispell
cvsdist b39f9d
(setq-default ispell-program-name "aspell") 
cvsdist b39f9d
cvsdist b39f9d
;; Add python support
cvsdist 7ceb3c
(require 'python-mode)
cvsdist b39f9d
(setq auto-mode-alist
cvsdist b39f9d
      (cons '("\\.py$" . python-mode) auto-mode-alist))
cvsdist b39f9d
(setq interpreter-mode-alist
cvsdist 98a749
      (cons '("python" . python-mode) interpreter-mode-alist))
cvsdist a8bb5f
cvsdist a8bb5f
;; run functions from the /usr/share/emacs/site-lisp/site-start.d directory
cvsdist a8bb5f
;; Files in this directory ending with ".el" are run on startup
cvsdist a8bb5f
cvsdist 98a749
(require 'cl) ; mapc isn't built into emacs 20
cvsdist 98a749
(mapc 'load (directory-files "/usr/share/emacs/site-lisp/site-start.d" t "\\.el\\'"))
cvsdist a8bb5f
cvsdist a8bb5f
;; Use the rpm-spec-mode for spec files
cvsdist a8bb5f
(require 'rpm-spec-mode)
cvsdist a8bb5f
(setq auto-mode-alist
cvsdist a8bb5f
      (cons '("\\.spec$" . rpm-spec-mode) auto-mode-alist))