+2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
+
+ * ispell.el (ispell-get-extended-character-mode): Disable
+ extended-char-mode for hunspell. hunspell does not support it and
+ treats ~word as ordinary words in pipe mode.
+
2012-03-30 Glenn Morris <rgm@gnu.org>
* tutorial.el (help-with-tutorial): Ensure local variables don't
(nth 5 (or (assoc ispell-current-dictionary ispell-local-dictionary-alist)
(assoc ispell-current-dictionary ispell-dictionary-alist))))
(defun ispell-get-extended-character-mode ()
- (nth 6 (or (assoc ispell-current-dictionary ispell-local-dictionary-alist)
- (assoc ispell-current-dictionary ispell-dictionary-alist))))
+ (if ispell-really-hunspell ;; hunspell treats ~word as ordinary words
+ nil ;; in pipe mode. Disable extended-char-mode
+ (nth 6 (or (assoc ispell-current-dictionary ispell-local-dictionary-alist)
+ (assoc ispell-current-dictionary ispell-dictionary-alist)))))
(defun ispell-get-coding-system ()
(nth 7 (or (assoc ispell-current-dictionary ispell-local-dictionary-alist)
(assoc ispell-current-dictionary ispell-dictionary-alist))))