diff options
| -rw-r--r-- | src/emacs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index 54e7de1a86a..33d5ae290c7 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -967,6 +967,12 @@ the Bugs section of the Emacs manual or the file BUGS.\n", argv[0]); | |||
| 967 | buffers and strings. We need to handle this before calling | 967 | buffers and strings. We need to handle this before calling |
| 968 | init_lread, init_editfns and other places that generate Lisp strings | 968 | init_lread, init_editfns and other places that generate Lisp strings |
| 969 | from text in the environment. */ | 969 | from text in the environment. */ |
| 970 | /* Actually this shouldn't be needed as of 20.4 in a generally | ||
| 971 | unibyte environment. As handa says, environment values | ||
| 972 | aren't now decoded; also existing buffers are now made | ||
| 973 | unibyte during startup if .emacs sets unibyte. Tested with | ||
| 974 | 8-bit data in environment variables and /etc/passwd, setting | ||
| 975 | unibyte and Latin-1 in .emacs. -- Dave Love */ | ||
| 970 | if (argmatch (argv, argc, "-unibyte", "--unibyte", 4, NULL, &skip_args) | 976 | if (argmatch (argv, argc, "-unibyte", "--unibyte", 4, NULL, &skip_args) |
| 971 | || argmatch (argv, argc, "-no-multibyte", "--no-multibyte", 4, NULL, &skip_args) | 977 | || argmatch (argv, argc, "-no-multibyte", "--no-multibyte", 4, NULL, &skip_args) |
| 972 | || (getenv ("EMACS_UNIBYTE") && !inhibit_unibyte)) | 978 | || (getenv ("EMACS_UNIBYTE") && !inhibit_unibyte)) |