diff options
| author | Kenichi Handa | 2006-06-08 07:10:01 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2006-06-08 07:10:01 +0000 |
| commit | 3e199297c6af86bc8dc7ee36076c9cd8dc28bb8b (patch) | |
| tree | 5338159f6fd6ca9624063dc613bb89ec98113210 /src | |
| parent | 6e50da0a627ef1fd2b4bfd0c7a8be642e36a52e9 (diff) | |
| download | emacs-3e199297c6af86bc8dc7ee36076c9cd8dc28bb8b.tar.gz emacs-3e199297c6af86bc8dc7ee36076c9cd8dc28bb8b.zip | |
(main): Check -enable-font-backend arg after the check
of -nl.
(standard_args): Add "-enable-font-backend".
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/emacs.c b/src/emacs.c index 4bbbf84ebab..2bacb1abbed 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1181,13 +1181,6 @@ main (argc, argv | |||
| 1181 | exit (0); | 1181 | exit (0); |
| 1182 | } | 1182 | } |
| 1183 | 1183 | ||
| 1184 | #ifdef USE_FONT_BACKEND | ||
| 1185 | enable_font_backend = 0; | ||
| 1186 | if (argmatch (argv, argc, "-enable-font-backend", "--enable-font-backend", | ||
| 1187 | 4, NULL, &skip_args)) | ||
| 1188 | enable_font_backend = 1; | ||
| 1189 | #endif /* USE_FONT_BACKEND */ | ||
| 1190 | |||
| 1191 | if (! noninteractive) | 1184 | if (! noninteractive) |
| 1192 | { | 1185 | { |
| 1193 | #ifdef BSD_PGRPS | 1186 | #ifdef BSD_PGRPS |
| @@ -1447,6 +1440,12 @@ main (argc, argv | |||
| 1447 | no_loadup | 1440 | no_loadup |
| 1448 | = argmatch (argv, argc, "-nl", "--no-loadup", 6, NULL, &skip_args); | 1441 | = argmatch (argv, argc, "-nl", "--no-loadup", 6, NULL, &skip_args); |
| 1449 | 1442 | ||
| 1443 | #ifdef USE_FONT_BACKEND | ||
| 1444 | enable_font_backend = 0; | ||
| 1445 | if (argmatch (argv, argc, "-enable-font-backend", "--enable-font-backend", | ||
| 1446 | 4, NULL, &skip_args)) | ||
| 1447 | enable_font_backend = 1; | ||
| 1448 | #endif /* USE_FONT_BACKEND */ | ||
| 1450 | 1449 | ||
| 1451 | #ifdef HAVE_X_WINDOWS | 1450 | #ifdef HAVE_X_WINDOWS |
| 1452 | /* Stupid kludge to catch command-line display spec. We can't | 1451 | /* Stupid kludge to catch command-line display spec. We can't |
| @@ -1850,6 +1849,7 @@ struct standard_args standard_args[] = | |||
| 1850 | { "-unibyte", "--unibyte", 81, 0 }, | 1849 | { "-unibyte", "--unibyte", 81, 0 }, |
| 1851 | { "-no-multibyte", "--no-multibyte", 80, 0 }, | 1850 | { "-no-multibyte", "--no-multibyte", 80, 0 }, |
| 1852 | { "-nl", "--no-loadup", 70, 0 }, | 1851 | { "-nl", "--no-loadup", 70, 0 }, |
| 1852 | { "-enable-font-backend", "--enable-font-backend", 65, 0 }, | ||
| 1853 | /* -d must come last before the options handled in startup.el. */ | 1853 | /* -d must come last before the options handled in startup.el. */ |
| 1854 | { "-d", "--display", 60, 1 }, | 1854 | { "-d", "--display", 60, 1 }, |
| 1855 | { "-display", 0, 60, 1 }, | 1855 | { "-display", 0, 60, 1 }, |