projects
/
.emacs.d.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52eb08a
)
spell checking
author
Ramakrishnan Muthukrishnan
<vu3rdd@gmail.com>
Thu, 8 Aug 2013 12:59:21 +0000
(18:29 +0530)
committer
Ramakrishnan Muthukrishnan
<vu3rdd@gmail.com>
Thu, 8 Aug 2013 12:59:21 +0000
(18:29 +0530)
init.el
patch
|
blob
|
history
diff --git
a/init.el
b/init.el
index 0fdc0676c9df8216119f6476bd9d5022fdaf738e..10c1ebd01c4ec2ec0142f94704549dd4a80dfe6d 100644
(file)
--- a/
init.el
+++ b/
init.el
@@
-411,3
+411,13
@@
'((font . "Menlo-13")
(width . 80)))
+;; spell check
+(setq ispell-program-name "aspell"
+ ispell-extra-args '("--sug-mode=ultra"))
+
+(setq ispell-list-command "--list")
+
+(dolist (hook '(text-mode-hook))
+ (add-hook hook (lambda () (flyspell-mode 1))))
+(dolist (hook '(change-log-mode-hook log-edit-mode-hook))
+ (add-hook hook (lambda () (flyspell-mode -1))))