+ (candidates
+ (let ((words (lookup-words arg (or company-ispell-dictionary
+ ispell-complete-word-dict)))
+ (completion-ignore-case t))
+ (if (string= arg "")
+ ;; Small optimization.
+ words
+ ;; Work around issue #284.
+ (all-completions arg words))))