Function: ispell--get-extra-word-characters
ispell--get-extra-word-characters is a byte-compiled function defined
in ispell.el.gz.
Signature
(ispell--get-extra-word-characters &optional LANG)
Documentation
Get the extra word characters for LANG as a character class.
If LANG is omitted, get the extra word characters for the default language.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/ispell.el.gz
(defun ispell--get-extra-word-characters (&optional lang)
"Get the extra word characters for LANG as a character class.
If LANG is omitted, get the extra word characters for the default language."
(let ((extra (string-trim-right
(apply 'ispell--call-enchant-lsmod
(append '("-word-chars") (if lang `(,lang)))))))
(if (string= extra "") "" (concat "[" extra "]"))))