Mercurial > emacs
diff lisp/language/european.el @ 22075:577e5b25f6d3
(setup-8-bit-environment):
After loading latin-N, reset the standard case table
and each buffer's case table.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 15 May 1998 05:50:20 +0000 |
parents | 86dfe4ad11ee |
children | e44440f1a80e |
line wrap: on
line diff
--- a/lisp/language/european.el Fri May 15 05:49:05 1998 +0000 +++ b/lisp/language/european.el Fri May 15 05:50:20 1998 +0000 @@ -48,7 +48,14 @@ ;; single-byte mode. We can't use require because the file ;; must be eval'd each time in case we change from one Latin-N to another. (if (string-match "^Latin-\\([1-9]\\)$" language) - (load (downcase language) nil t))) + (let ((set-case-syntax-set-multibyte nil)) + (load (downcase language) nil t) + (set-standard-case-table (standard-case-table)) + (let ((list (buffer-list))) + (while list + (with-current-buffer (car list) + (set-case-table (standard-case-table))) + (setq list (cdr list))))))) ;; Latin-1 (ISO-8859-1)