aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-05-15 05:50:20 +0000
committerRichard M. Stallman1998-05-15 05:50:20 +0000
commit81fee7cf1da9956f7796a915f98cc14630eb5ba7 (patch)
treec2c2689f14eb2eae082820f65eb102e3f3f2800e
parent6ebe9f826fcecf32e220df0d0830e4742e20b6d8 (diff)
downloademacs-81fee7cf1da9956f7796a915f98cc14630eb5ba7.tar.gz
emacs-81fee7cf1da9956f7796a915f98cc14630eb5ba7.zip
(setup-8-bit-environment):
After loading latin-N, reset the standard case table and each buffer's case table.
-rw-r--r--lisp/language/european.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/language/european.el b/lisp/language/european.el
index a583e18a6a8..06c9a8de967 100644
--- a/lisp/language/european.el
+++ b/lisp/language/european.el
@@ -48,7 +48,14 @@
48 ;; single-byte mode. We can't use require because the file 48 ;; single-byte mode. We can't use require because the file
49 ;; must be eval'd each time in case we change from one Latin-N to another. 49 ;; must be eval'd each time in case we change from one Latin-N to another.
50 (if (string-match "^Latin-\\([1-9]\\)$" language) 50 (if (string-match "^Latin-\\([1-9]\\)$" language)
51 (load (downcase language) nil t))) 51 (let ((set-case-syntax-set-multibyte nil))
52 (load (downcase language) nil t)
53 (set-standard-case-table (standard-case-table))
54 (let ((list (buffer-list)))
55 (while list
56 (with-current-buffer (car list)
57 (set-case-table (standard-case-table)))
58 (setq list (cdr list)))))))
52 59
53;; Latin-1 (ISO-8859-1) 60;; Latin-1 (ISO-8859-1)
54 61