Function: ispell-find-enchant-dictionaries
ispell-find-enchant-dictionaries is a byte-compiled function defined
in ispell.el.gz.
Signature
(ispell-find-enchant-dictionaries)
Documentation
Find Enchant's dictionaries, and record in ispell-enchant-dictionary-alist.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/ispell.el.gz
(defun ispell-find-enchant-dictionaries ()
"Find Enchant's dictionaries, and record in `ispell-enchant-dictionary-alist'."
(let* ((dictionaries
(split-string
(ispell--call-enchant-lsmod "-list-dicts") " ([^)]+)\n" t))
(found
(mapcar (lambda (lang)
`(,lang "[[:alpha:]]" "[^[:alpha:]]"
,(ispell--get-extra-word-characters lang) t nil nil utf-8))
dictionaries)))
(setq ispell-enchant-dictionary-alist found)))