changeset 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 4370dfe3cfb3
children ea693abdeb4e
files src/emacs.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Tue Apr 07 08:56:13 1998 +0000
+++ b/src/emacs.c	Tue Apr 07 11:48:18 1998 +0000
@@ -735,7 +735,8 @@
      buffers and strings.  We need to handle this before calling
      init_lread, init_editfns and other places that generate Lisp strings
      from text in the environment.  */
-  if (argmatch (argv, argc, "-unibyte", "--unibyte", 4, NULL, &skip_args))
+  if ((argmatch (argv, argc, "-unibyte", "--unibyte", 4, NULL, &skip_args)) 
+      || getenv ("EMACS_UNIBYTE"))
     {
       Lisp_Object symbol;
       symbol = intern ("default-enable-multibyte-characters");
@@ -784,7 +785,7 @@
       printf ("\
 Usage: %s [-t term] [--terminal term]  [-nw] [--no-windows]  [--batch]\n\
       [-q] [--no-init-file]  [-u user] [--user user]  [--debug-init]\n\
-      [--version] [--no-site-file] [--unibyte]\n\
+      [--version] [--no-site-file]\n\
       [-f func] [--funcall func]  [-l file] [--load file]  [--insert file]\n\
       [+linenum] file-to-visit  [--kill]\n\
 Report bugs to bug-gnu-emacs@prep.ai.mit.edu.  First, please see\n\