aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert2011-10-13 23:14:17 -0700
committerPaul Eggert2011-10-13 23:14:17 -0700
commit91107bd98003435fbeead3325ce694248863da39 (patch)
treec7495c1957f51dac6567af73f390a3be287f9a5f /lisp
parentc8d5c85772067347a53bca0149c7018651dedb93 (diff)
parent8b7a997c1a891d390b0d3e9483bf9e605fabd11a (diff)
downloademacs-91107bd98003435fbeead3325ce694248863da39.tar.gz
emacs-91107bd98003435fbeead3325ce694248863da39.zip
Merge from trunk.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/flyspell.el8
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 @@
12011-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
12011-10-13 Eli Zaretskii <eliz@gnu.org> 62011-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