Function: ispell--call-enchant-lsmod

ispell--call-enchant-lsmod is a byte-compiled function defined in ispell.el.gz.

Signature

(ispell--call-enchant-lsmod &rest ARGS)

Documentation

Call enchant-lsmod with ARGS and return the output as string.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/ispell.el.gz
(defun ispell--call-enchant-lsmod (&rest args)
  "Call enchant-lsmod with ARGS and return the output as string."
  (with-output-to-string
    (with-current-buffer standard-output
      (apply #'ispell-call-process
             (replace-regexp-in-string "enchant\\(-[0-9]\\)?\\'"
                                       "enchant-lsmod\\1"
                                       ispell-program-name)
             ;; We discard stderr here because enchant-lsmod can emit
             ;; unrelated warnings that will confuse us.
             nil '(t nil) nil args))))