cvsdist d31aa3
;; aspell is a replacement for ispell (this duplicates of aspell-init.el)
cvsdist b39f9d
(setq-default ispell-program-name "aspell") 
cvsdist b39f9d
cvsdist d31aa3
;; load ".el" files in "/usr/share/emacs/site-lisp/site-start.d/" on startup
cvsdist d31aa3
(mapc 'load
cvsdist d31aa3
      (directory-files "/usr/share/emacs/site-lisp/site-start.d" t "\\.el\\'"))
cvsdist d31aa3
cvsdist d31aa3
;; Enable utf-8 in locales using utf-8. In RHL, all of these end in ".UTF-8".
cvsdist d31aa3
;; The utf-8 support in Emacs is limited, problems can be expected - especially
cvsdist d31aa3
;; outside latin-1
cvsdist d31aa3
(cond ((equal (substring (concat "     " (or (getenv "LC_ALL")
cvsdist d31aa3
					     (getenv "LC_CTYPE")
cvsdist d31aa3
					     (getenv "LANG")))
cvsdist d31aa3
			 -5)
cvsdist d31aa3
	      "UTF-8")
cvsdist d31aa3
       (setq locale-coding-system 'utf-8)
cvsdist d31aa3
       (set-terminal-coding-system 'utf-8)
cvsdist d31aa3
       (set-keyboard-coding-system 'utf-8)
cvsdist d31aa3
       (set-selection-coding-system 'utf-8)
cvsdist d31aa3
       (prefer-coding-system 'utf-8)))