diff options
| author | Richard M. Stallman | 1998-04-03 23:49:11 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-04-03 23:49:11 +0000 |
| commit | c2e527be0b180325bfb4610a5c51bd5848370878 (patch) | |
| tree | 7e5bd19085934880244ff390e14ce6d8b28f73f8 | |
| parent | 249ac14bec7bdcb12abadde0ee6c553595add615 (diff) | |
| download | emacs-c2e527be0b180325bfb4610a5c51bd5848370878.tar.gz emacs-c2e527be0b180325bfb4610a5c51bd5848370878.zip | |
(command-line): If already unibyte, just load
latin-N instead of calling set-language-environment.
| -rw-r--r-- | lisp/startup.el | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 1f5c63d6993..6d777541c26 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -483,10 +483,14 @@ from being initialized." | |||
| 483 | (if (equal "5" which) | 483 | (if (equal "5" which) |
| 484 | (setq which "9")) | 484 | (setq which "9")) |
| 485 | (setq charset (concat "latin-" which)) | 485 | (setq charset (concat "latin-" which)) |
| 486 | ;; Set up for this character set in multibyte mode. | ||
| 487 | (if (string-match "latin-[12345]" charset) | 486 | (if (string-match "latin-[12345]" charset) |
| 488 | (set-language-environment charset)) | 487 | (if default-enable-multibyte-characters |
| 489 | (standard-display-european t charset)))) | 488 | ;; Set up for this character set in multibyte mode. |
| 489 | (set-language-environment charset) | ||
| 490 | ;; Set up for this character set in unibyte mode. | ||
| 491 | (load charset))) | ||
| 492 | (standard-display-european t (and default-enable-multibyte-characters | ||
| 493 | charset)))))) | ||
| 490 | 494 | ||
| 491 | ;;! This has been commented out; I currently find the behavior when | 495 | ;;! This has been commented out; I currently find the behavior when |
| 492 | ;;! split-window-keep-point is nil disturbing, but if I can get used | 496 | ;;! split-window-keep-point is nil disturbing, but if I can get used |