diff options
| author | Dave Love | 1998-04-07 11:48:18 +0000 |
|---|---|---|
| committer | Dave Love | 1998-04-07 11:48:18 +0000 |
| commit | 28a3f8110d9f15746ce7e765109dc0554f3a2e21 (patch) | |
| tree | 695554c022291bf7c07a5f922640e3d4108d7cf3 /src | |
| parent | 74ae80cdf374a9058d4ac16c7aa8163bbd44b49d (diff) | |
| download | emacs-28a3f8110d9f15746ce7e765109dc0554f3a2e21.tar.gz emacs-28a3f8110d9f15746ce7e765109dc0554f3a2e21.zip | |
(main): Obey environment variable EMACS_UNIBYTE as
alternative to --unibyte.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/emacs.c b/src/emacs.c index ad11e714ca9..e9fb22f7c07 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -735,7 +735,8 @@ main (argc, argv, envp) | |||
| 735 | buffers and strings. We need to handle this before calling | 735 | buffers and strings. We need to handle this before calling |
| 736 | init_lread, init_editfns and other places that generate Lisp strings | 736 | init_lread, init_editfns and other places that generate Lisp strings |
| 737 | from text in the environment. */ | 737 | from text in the environment. */ |
| 738 | if (argmatch (argv, argc, "-unibyte", "--unibyte", 4, NULL, &skip_args)) | 738 | if ((argmatch (argv, argc, "-unibyte", "--unibyte", 4, NULL, &skip_args)) |
| 739 | || getenv ("EMACS_UNIBYTE")) | ||
| 739 | { | 740 | { |
| 740 | Lisp_Object symbol; | 741 | Lisp_Object symbol; |
| 741 | symbol = intern ("default-enable-multibyte-characters"); | 742 | symbol = intern ("default-enable-multibyte-characters"); |
| @@ -784,7 +785,7 @@ main (argc, argv, envp) | |||
| 784 | printf ("\ | 785 | printf ("\ |
| 785 | Usage: %s [-t term] [--terminal term] [-nw] [--no-windows] [--batch]\n\ | 786 | Usage: %s [-t term] [--terminal term] [-nw] [--no-windows] [--batch]\n\ |
| 786 | [-q] [--no-init-file] [-u user] [--user user] [--debug-init]\n\ | 787 | [-q] [--no-init-file] [-u user] [--user user] [--debug-init]\n\ |
| 787 | [--version] [--no-site-file] [--unibyte]\n\ | 788 | [--version] [--no-site-file]\n\ |
| 788 | [-f func] [--funcall func] [-l file] [--load file] [--insert file]\n\ | 789 | [-f func] [--funcall func] [-l file] [--load file] [--insert file]\n\ |
| 789 | [+linenum] file-to-visit [--kill]\n\ | 790 | [+linenum] file-to-visit [--kill]\n\ |
| 790 | Report bugs to bug-gnu-emacs@prep.ai.mit.edu. First, please see\n\ | 791 | Report bugs to bug-gnu-emacs@prep.ai.mit.edu. First, please see\n\ |