blob: 8428a3b8adcf5218bbe431331745ab29f61a1675 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
(defun greek-input (arg)
(interactive "p")
(set-input-method 'greek))
(defun russian-input (arg)
(interactive "p")
(set-input-method 'cyrillic-yawerty))
(set-language-environment 'utf-8)
(global-set-key "\M-g" 'greek-input)
(global-set-key "\M-r" 'russian-input)
(load-file "elisp/ellinika-dict-mode.el")
(setq ispell-program-name "aspell")
(setq ispell-extra-args (list "--encoding=utf-8"))
(require 'ispell)
(setq ispell-dictionary-alist
(append '(("russian" "" "" "" nil ("-d" "russian") nil utf-8)
("greek" "" "" "[---]" nil ("-B" "-d" "el") "~tex" utf-8))
ispell-dictionary-alist))
(setq w3-default-homepage "http://localhost/cgi-bin/dict.cgi")
|