diff options
| author | Joakim Verona | 2011-10-14 11:00:50 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-10-14 11:00:50 +0200 |
| commit | dab7e06ab78b5aa2b747ded874bbef8b6667a28d (patch) | |
| tree | 60e8a4d369258032e70dfbc5533027367e69997f /lisp | |
| parent | 3d9b00348ff3d3c70e1cad0b4804170a6a24779d (diff) | |
| parent | 466a320edc8304632373066a61ee9f5903aa82a1 (diff) | |
| download | emacs-dab7e06ab78b5aa2b747ded874bbef8b6667a28d.tar.gz emacs-dab7e06ab78b5aa2b747ded874bbef8b6667a28d.zip | |
upstream
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/flyspell.el | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 10570c2a878..68a85a43387 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es> | ||
| 2 | |||
| 3 | * textmodes/flyspell.el (flyspell-large-region): Make sure | ||
| 4 | extended character mode is used if defined (Bug#1339). | ||
| 5 | |||
| 1 | 2011-10-13 Eli Zaretskii <eliz@gnu.org> | 6 | 2011-10-13 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * simple.el (what-cursor-position): Fix the display of the | 8 | * simple.el (what-cursor-position): Fix the display of the |
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index c2af3f7be84..d496298768d 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -1559,6 +1559,14 @@ The buffer to mark them in is `flyspell-large-region-buffer'." | |||
| 1559 | (list "-p" | 1559 | (list "-p" |
| 1560 | (expand-file-name | 1560 | (expand-file-name |
| 1561 | ispell-current-personal-dictionary))))) | 1561 | ispell-current-personal-dictionary))))) |
| 1562 | |||
| 1563 | ;; Check for extended character mode | ||
| 1564 | (let ((extended-char-mode (ispell-get-extended-character-mode))) | ||
| 1565 | (and extended-char-mode ; ~ extended character mode | ||
| 1566 | (string-match "[^~]+$" extended-char-mode) | ||
| 1567 | (add-to-list 'args (concat "-T" (match-string 0 extended-char-mode))))) | ||
| 1568 | |||
| 1569 | ;; Add ispell-extra-args | ||
| 1562 | (setq args (append args ispell-extra-args)) | 1570 | (setq args (append args ispell-extra-args)) |
| 1563 | 1571 | ||
| 1564 | ;; If we are using recent aspell or hunspell, make sure we use the right encoding | 1572 | ;; If we are using recent aspell or hunspell, make sure we use the right encoding |