From 418099b9bb6bb42a72b4037bf6403488ba32e842 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Thu, 6 May 2004 19:52:26 +0000 Subject: [PATCH] (main) [VMS]: Fix var ref. --- src/ChangeLog | 4 ++++ src/emacs.c | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 9027d8042ad..15adf3bddb5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2004-05-06 Thien-Thi Nguyen + + * emacs.c (main) [VMS]: Fix var ref. + 2004-05-03 Thien-Thi Nguyen * coding.c (detect_coding_mask): Fix call of detect_coding_iso2022. diff --git a/src/emacs.c b/src/emacs.c index 7c8fed8048b..0a41fd24614 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -112,7 +112,7 @@ Lisp_Object Vkill_emacs_hook; Lisp_Object Vsignal_USR1_hook; #ifdef SIGUSR2 Lisp_Object Vsignal_USR2_hook; -#endif +#endif #endif /* Search path separator. */ @@ -793,7 +793,7 @@ main (argc, argv, envp) /* If -map specified, map the data file in */ { char *file; - if (argmatch (argv, argc, "-map", "--map-data", 3, &mapin_file, &skip_args)) + if (argmatch (argv, argc, "-map", "--map-data", 3, &file, &skip_args)) mapin_data (file); } @@ -1100,7 +1100,7 @@ main (argc, argv, envp) init_buffer_once (); /* Create buffer table and some buffers */ init_minibuf_once (); /* Create list of minibuffers */ /* Must precede init_window_once */ - + /* Call syms_of_xfaces before init_window_once because that function creates Vterminal_frame. Termcap frames now use faces, and the face implementation uses some symbols as @@ -1128,7 +1128,7 @@ main (argc, argv, envp) syms_of_data (); syms_of_search (); syms_of_frame (); - + x_term_init (); init_keyboard (); #endif @@ -1515,7 +1515,7 @@ main (argc, argv, envp) #ifdef PROFILING if (initialized) { - extern void _mcleanup (); + extern void _mcleanup (); extern char etext; extern void safe_bcopy (); extern void dump_opcode_frequencies (); @@ -1758,7 +1758,7 @@ sort_args (argc, argv) if (options[from] > 0) from += options[from]; } - + if (best < 0) abort (); -- 2.39.5