]> git.eshelyaron.com Git - emacs.git/commitdiff
(select-safe-coding-system): Hightlight at most 256 characters.
authorRichard M. Stallman <rms@gnu.org>
Tue, 19 Jan 1999 03:07:53 +0000 (03:07 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 19 Jan 1999 03:07:53 +0000 (03:07 +0000)
lisp/international/mule-cmds.el

index c05129bfc17a1c1355f761d8e1a6045edc21171a..cc72c2580c0dd2b6488dbb1f5e4ebea36afbd019 100644 (file)
@@ -495,7 +495,8 @@ and TO is ignored."
            (beginning-of-line)
            (set-window-start (selected-window) (point))
            (save-excursion
-             (while (re-search-forward "[^\000-\177]" to t)
+             (while (and (< (length overlays) 256)
+                         (re-search-forward "[^\000-\177]" to t))
                (let* ((char (preceding-char))
                       (charset (char-charset char)))
                  (when (assq charset non-safe-chars)