aboutsummaryrefslogtreecommitdiffstats
path: root/src/emacs.c
diff options
context:
space:
mode:
authorKaroly Lorentey2005-09-04 03:48:17 +0000
committerKaroly Lorentey2005-09-04 03:48:17 +0000
commitfbf349734468d48b421c3d03074bb66dfcf3115b (patch)
tree0a7d1ee844b6c591a5a499d23e35931945106e5a /src/emacs.c
parentf0caabd962b662cccbea472995d86af718cc8d0b (diff)
parent4b5fa40e1f1ba3cafde672863a0331311d1c2695 (diff)
downloademacs-fbf349734468d48b421c3d03074bb66dfcf3115b.tar.gz
emacs-fbf349734468d48b421c3d03074bb66dfcf3115b.zip
Merged in changes from CVS trunk. Plus added lisp/term tweaks.
Patches applied: * lorentey@elte.hu--2004/emacs--cvs-trunk--0--base-0 tag of miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-474 * lorentey@elte.hu--2004/emacs--cvs-trunk--0--patch-1 Add CVS metadata files. * lorentey@elte.hu--2004/emacs--cvs-trunk--0--patch-2 Update from CVS. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-393
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/emacs.c b/src/emacs.c
index af23f8b9136..8724cbf2928 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1,6 +1,6 @@
1/* Fully extensible Emacs, running on Unix, intended for GNU. 1/* Fully extensible Emacs, running on Unix, intended for GNU.
2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2001, 2 Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -267,7 +267,7 @@ Initialization options:\n\
267--no-site-file do not load site-start.el\n\ 267--no-site-file do not load site-start.el\n\
268--no-splash do not display a splash screen on startup\n\ 268--no-splash do not display a splash screen on startup\n\
269--no-window-system, -nw do not communicate with X, ignoring $DISPLAY\n\ 269--no-window-system, -nw do not communicate with X, ignoring $DISPLAY\n\
270--quick, -Q equivalent to -q --no-site-file\n\ 270--quick, -Q equivalent to -q --no-site-file --no-splash\n\
271--script FILE run FILE as an Emacs Lisp script\n\ 271--script FILE run FILE as an Emacs Lisp script\n\
272--terminal, -t DEVICE use DEVICE for terminal I/O\n\ 272--terminal, -t DEVICE use DEVICE for terminal I/O\n\
273--unibyte, --no-multibyte run Emacs in unibyte mode\n\ 273--unibyte, --no-multibyte run Emacs in unibyte mode\n\
@@ -1154,9 +1154,9 @@ main (argc, argv
1154 if (argmatch (argv, argc, "-script", "--script", 3, &junk, &skip_args)) 1154 if (argmatch (argv, argc, "-script", "--script", 3, &junk, &skip_args))
1155 { 1155 {
1156 noninteractive = 1; /* Set batch mode. */ 1156 noninteractive = 1; /* Set batch mode. */
1157 /* Convert --script to -l, un-skip it, and sort again so that -l will be 1157 /* Convert --script to --scriptload, un-skip it, and sort again
1158 handled in proper sequence. */ 1158 so that it will be handled in proper sequence. */
1159 argv[skip_args - 1] = "-l"; 1159 argv[skip_args - 1] = "-scriptload";
1160 skip_args -= 2; 1160 skip_args -= 2;
1161 sort_args (argc, argv); 1161 sort_args (argc, argv);
1162 } 1162 }
@@ -1837,7 +1837,7 @@ struct standard_args standard_args[] =
1837 { "-itype", 0, 15, 0 }, 1837 { "-itype", 0, 15, 0 },
1838 { "-iconic", "--iconic", 15, 0 }, 1838 { "-iconic", "--iconic", 15, 0 },
1839 { "-D", "--basic-display", 12, 0}, 1839 { "-D", "--basic-display", 12, 0},
1840 { "--basic-display", 0, 12, 0}, 1840 { "-basic-display", 0, 12, 0},
1841 { "-bg", "--background-color", 10, 1 }, 1841 { "-bg", "--background-color", 10, 1 },
1842 { "-background", 0, 10, 1 }, 1842 { "-background", 0, 10, 1 },
1843 { "-fg", "--foreground-color", 10, 1 }, 1843 { "-fg", "--foreground-color", 10, 1 },
@@ -1871,6 +1871,7 @@ struct standard_args standard_args[] =
1871 { "-directory", 0, 0, 1 }, 1871 { "-directory", 0, 0, 1 },
1872 { "-l", "--load", 0, 1 }, 1872 { "-l", "--load", 0, 1 },
1873 { "-load", 0, 0, 1 }, 1873 { "-load", 0, 0, 1 },
1874 { "-scriptload", "--scriptload", 0, 1 },
1874 { "-f", "--funcall", 0, 1 }, 1875 { "-f", "--funcall", 0, 1 },
1875 { "-funcall", 0, 0, 1 }, 1876 { "-funcall", 0, 0, 1 },
1876 { "-eval", "--eval", 0, 1 }, 1877 { "-eval", "--eval", 0, 1 },