Skip to content

Commit

Permalink
ispell-word and fallback english dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Bin committed Mar 30, 2015
1 parent 27ed5c8 commit 785e83c
Show file tree
Hide file tree
Showing 2 changed files with 72,790 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lisp/init-hippie-expand.el
Expand Up @@ -5,6 +5,10 @@
;; old is true if we have already attempted an expansion
(unless (bound-and-true-p ispell-minor-mode)
(ispell-minor-mode 1))

;; english-words.txt is the fallback dicitonary
(if (not ispell-alternate-dictionary)
(setq ispell-alternate-dictionary (file-truename "~/.emacs.d/misc/english-words.txt")))
(let ((lookup-func (if (fboundp 'ispell-lookup-words)
'ispell-lookup-words
'lookup-words)))
Expand Down

0 comments on commit 785e83c

Please sign in to comment.