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 b39f9d
      (cons '("python" . python-mode)
cvsdist b39f9d
            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 a8bb5f
(let (list)
cvsdist a8bb5f
  (setq list (directory-files "/usr/share/emacs/site-lisp/site-start.d" t "\\.el$"))
cvsdist a8bb5f
  (while list
cvsdist a8bb5f
    (load-file (car list))
cvsdist a8bb5f
    (setq list (cdr list)))
cvsdist a8bb5f
  )
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))