aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-04-24 17:59:13 +0000
committerStefan Monnier2008-04-24 17:59:13 +0000
commit852618548a6a80773b3fa44fa76b4bd43077491f (patch)
treec1029b0da51058653b17317c5583765a862e3309
parent2136a8a7aa9f89f9d031552bf6d1fe2abd173dbc (diff)
downloademacs-852618548a6a80773b3fa44fa76b4bd43077491f.tar.gz
emacs-852618548a6a80773b3fa44fa76b4bd43077491f.zip
(quail-build-decode-map): Avoid string-bytes.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/international/quail.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 91963a31f09..c9f57f0aae3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12008-04-24 Stefan Monnier <monnier@iro.umontreal.ca> 12008-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * international/quail.el (quail-build-decode-map): Avoid string-bytes.
4
3 * textmodes/ispell.el (ispell-dictionary-alist-1) 5 * textmodes/ispell.el (ispell-dictionary-alist-1)
4 (ispell-dictionary-alist-2, ispell-dictionary-alist-3): 6 (ispell-dictionary-alist-2, ispell-dictionary-alist-3):
5 (ispell-dictionary-alist-4, ispell-dictionary-alist-5): 7 (ispell-dictionary-alist-4, ispell-dictionary-alist-5):
diff --git a/lisp/international/quail.el b/lisp/international/quail.el
index 90466f57cdd..e4144bb0a2d 100644
--- a/lisp/international/quail.el
+++ b/lisp/international/quail.el
@@ -2309,7 +2309,7 @@ Optional 6th arg IGNORES is a list of translations to ignore."
2309 ;; Accept only non-ASCII chars not 2309 ;; Accept only non-ASCII chars not
2310 ;; listed in IGNORES. 2310 ;; listed in IGNORES.
2311 (if (and (if (integerp x) (> x 255) 2311 (if (and (if (integerp x) (> x 255)
2312 (> (string-bytes x) (length x))) 2312 (string-match-p "[^[:ascii:]]" x))
2313 (not (member x ignores))) 2313 (not (member x ignores)))
2314 (setq multibyte t)))) 2314 (setq multibyte t))))
2315 translation) 2315 translation)