Hi,
hol dir die entsprechenden Zeilen raus, damit sollte es gehen:
Code:
(setq-default ispell-program-name "aspell")
;;(set-default 'ispell-change-dictionary "ndeutsch8-15")
;;(set-default 'ispell-local-dictionary "ndeutsch8-15")
;; (set-default ispell-change-dictionary "english")
;; (set-default ispell-local-dictionary "english")
;; ===================================================================
;; ISPELL
;; ===================================================================
(require 'ispell)
(add-to-list 'ispell-dictionary-alist
'("ndeutsch8-15"
"[a-zA-Z\304\326\334\344\366\337\374]"
"[^a-zA-Z\304\326\334\344\366\337\374]"
"[']" t
("-C" "-d" "german")
"~latin1" iso-8859-15))
;; ===================================================================
;; ISPELL End
;; ===================================================================
;; ===================================================================
;; FLYSPELL
;; ===================================================================
;;(add-hook 'flyspell-mode-hook
;; (function (lambda ()
;; (setq ispell-local-dictionary "ndeutsch8-15")
;; )))
(add-hook 'flyspell-mode-hook
(function (lambda ()
(setq ispell-local-dictionary "english")
)))
(autoload 'flyspell-mode "flyspell"
"On-the-fly spelling checking" t)
(autoload 'global-flyspell-mode "flyspell"
"On-the-fly spelling" t)
(add-hook 'htm-mode-hook 'flyspell-mode)
(add-hook 'html-mode-hook 'flyspell-mode)
(add-hook 'latex-mode-hook 'flyspell-mode)
(add-hook 'tex-mode-hook 'flyspell-mode)
(add-hook 'text-mode-hook 'flyspell-mode)
(add-hook 'post-mode-hook 'flyspell-mode)
(add-hook 'message-mode-hook 'flyspell-mode)
;; ===================================================================
;; FLYSPELL End
;; ===================================================================
Lesezeichen