From: Paul Eggert Date: Mon, 14 Mar 2011 03:43:36 +0000 (-0700) Subject: * emacs.c (init_cmdargs): Rename local to avoid shadowing. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~554^2~120 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=74f10ca71b51e3df88317eab85ad64504f69cc40;p=emacs.git * emacs.c (init_cmdargs): Rename local to avoid shadowing. --- diff --git a/src/ChangeLog b/src/ChangeLog index da1b852f459..951732a1306 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-03-14 Paul Eggert + * emacs.c (init_cmdargs): Rename local to avoid shadowing. + * lisp.h (fatal_error_signal): Add decl, since it's exported. * dbusbind.c: Pointer signedness fixes. diff --git a/src/emacs.c b/src/emacs.c index 8b5daf8c7c6..0b508fb5be7 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -382,7 +382,7 @@ static void init_cmdargs (int argc, char **argv, int skip_args) { register int i; - Lisp_Object name, dir, tem; + Lisp_Object name, dir, handler; int count = SPECPDL_INDEX (); Lisp_Object raw_name; @@ -393,8 +393,8 @@ init_cmdargs (int argc, char **argv, int skip_args) /* Add /: to the front of the name if it would otherwise be treated as magic. */ - tem = Ffind_file_name_handler (raw_name, Qt); - if (! NILP (tem)) + handler = Ffind_file_name_handler (raw_name, Qt); + if (! NILP (handler)) raw_name = concat2 (build_string ("/:"), raw_name); Vinvocation_name = Ffile_name_nondirectory (raw_name); @@ -411,8 +411,8 @@ init_cmdargs (int argc, char **argv, int skip_args) { /* Add /: to the front of the name if it would otherwise be treated as magic. */ - tem = Ffind_file_name_handler (found, Qt); - if (! NILP (tem)) + handler = Ffind_file_name_handler (found, Qt); + if (! NILP (handler)) found = concat2 (build_string ("/:"), found); Vinvocation_directory = Ffile_name_directory (found); }