aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaroly Lorentey2004-05-25 02:08:47 +0000
committerKaroly Lorentey2004-05-25 02:08:47 +0000
commitf8d50d5b7a91778063189dfc5bf92acc9d9ae9b5 (patch)
treee8a65525bca4c30c2e6fbc29a73332da81f3b073
parentfc0dcdef8f78c83808b94251aed23459ad75178c (diff)
downloademacs-f8d50d5b7a91778063189dfc5bf92acc9d9ae9b5.tar.gz
emacs-f8d50d5b7a91778063189dfc5bf92acc9d9ae9b5.zip
Fix terminal coding system in multibyte locales (rep. by Friedrich Delgado Friedrichs).
lisp/international/mule-cmds.el (configure-display-for-locale): Override default-enable-multibyte-characters when setting up the terminal coding system. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-176
-rw-r--r--lisp/international/mule-cmds.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 7aed6a95e7c..c9c462f028e 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -2385,7 +2385,11 @@ given locale."
2385 ;; we are using single-byte characters, 2385 ;; we are using single-byte characters,
2386 ;; so the display table and terminal coding system are irrelevant. 2386 ;; so the display table and terminal coding system are irrelevant.
2387 (when default-enable-multibyte-characters 2387 (when default-enable-multibyte-characters
2388 (set-display-table-and-terminal-coding-system language-name)) 2388 ;; Override default-terminal-coding-system in case the
2389 ;; display coding can not be derived from the language
2390 ;; environment.
2391 (let ((default-terminal-coding-system coding-system))
2392 (set-display-table-and-terminal-coding-system language-name)))
2389 2393
2390 ;; Set the `keyboard-coding-system' if appropriate (tty 2394 ;; Set the `keyboard-coding-system' if appropriate (tty
2391 ;; only). At least X and MS Windows can generate 2395 ;; only). At least X and MS Windows can generate