Mercurial > emacs
comparison src/emacs.c @ 21406:4b59242b8a49
(main): Obey environment variable EMACS_UNIBYTE as
alternative to --unibyte.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 07 Apr 1998 11:48:18 +0000 |
parents | 3bfdea3ee4af |
children | 8e54230531dc |
comparison
equal
deleted
inserted
replaced
21405:4370dfe3cfb3 | 21406:4b59242b8a49 |
---|---|
733 | 733 |
734 /* --unibyte requests that we set up to do everything with single-byte | 734 /* --unibyte requests that we set up to do everything with single-byte |
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"); |
742 Fset (symbol, Qnil); | 743 Fset (symbol, Qnil); |
743 Fset_default (symbol, Qnil); | 744 Fset_default (symbol, Qnil); |
782 if (argmatch (argv, argc, "-help", "--help", 3, NULL, &skip_args)) | 783 if (argmatch (argv, argc, "-help", "--help", 3, NULL, &skip_args)) |
783 { | 784 { |
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\ |
791 the Bugs section of the Emacs manual or the file BUGS.\n", argv[0]); | 792 the Bugs section of the Emacs manual or the file BUGS.\n", argv[0]); |
792 exit (0); | 793 exit (0); |