mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-23 22:20:24 -08:00
Fix invocation of Hunspell by ispell.el.
lisp/textmodes/ispell.el (ispell-check-version): For hunspell, set
ispell-encoding8-command to "-i", without a trailing space.
(ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
separate command-line arguments, to specify the encoding, since
that's how hunspell expects it.
This commit is contained in:
parent
3b747a14c7
commit
b39bb7e124
2 changed files with 15 additions and 4 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2012-04-08 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* textmodes/ispell.el (ispell-check-version): For hunspell, set
|
||||
ispell-encoding8-command to "-i", without a trailing space.
|
||||
(ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
|
||||
separate command-line arguments, to specify the encoding, since
|
||||
that's how hunspell expects it.
|
||||
|
||||
2012-04-08 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* loadup.el: Load bindings before cus-start.
|
||||
|
|
|
|||
|
|
@ -2618,9 +2618,12 @@ Keeps argument list for future ispell invocations for no async support."
|
|||
;; right encoding for communication. ispell or older aspell/hunspell
|
||||
;; does not support this.
|
||||
(if ispell-encoding8-command
|
||||
(if ispell-really-hunspell
|
||||
(list ispell-encoding8-command
|
||||
(upcase (symbol-name (ispell-get-coding-system))))
|
||||
(list
|
||||
(concat ispell-encoding8-command
|
||||
(symbol-name (ispell-get-coding-system)))))
|
||||
(symbol-name (ispell-get-coding-system))))))
|
||||
ispell-extra-args)))
|
||||
|
||||
;; Initially we don't know any buffer's local words.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue