aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-03-13 20:43:36 -0700
committerPaul Eggert2011-03-13 20:43:36 -0700
commit74f10ca71b51e3df88317eab85ad64504f69cc40 (patch)
tree5024ffab2a50f07fc4aee240aa21bbdeb10c8f84 /src
parent603935076c44ddba546c2f8f0e70d9a664f9aac2 (diff)
downloademacs-74f10ca71b51e3df88317eab85ad64504f69cc40.tar.gz
emacs-74f10ca71b51e3df88317eab85ad64504f69cc40.zip
* emacs.c (init_cmdargs): Rename local to avoid shadowing.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/emacs.c10
2 files changed, 7 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index da1b852f459..951732a1306 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-03-14 Paul Eggert <eggert@cs.ucla.edu> 12011-03-14 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * emacs.c (init_cmdargs): Rename local to avoid shadowing.
4
3 * lisp.h (fatal_error_signal): Add decl, since it's exported. 5 * lisp.h (fatal_error_signal): Add decl, since it's exported.
4 6
5 * dbusbind.c: Pointer signedness fixes. 7 * 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
382init_cmdargs (int argc, char **argv, int skip_args) 382init_cmdargs (int argc, char **argv, int skip_args)
383{ 383{
384 register int i; 384 register int i;
385 Lisp_Object name, dir, tem; 385 Lisp_Object name, dir, handler;
386 int count = SPECPDL_INDEX (); 386 int count = SPECPDL_INDEX ();
387 Lisp_Object raw_name; 387 Lisp_Object raw_name;
388 388
@@ -393,8 +393,8 @@ init_cmdargs (int argc, char **argv, int skip_args)
393 393
394 /* Add /: to the front of the name 394 /* Add /: to the front of the name
395 if it would otherwise be treated as magic. */ 395 if it would otherwise be treated as magic. */
396 tem = Ffind_file_name_handler (raw_name, Qt); 396 handler = Ffind_file_name_handler (raw_name, Qt);
397 if (! NILP (tem)) 397 if (! NILP (handler))
398 raw_name = concat2 (build_string ("/:"), raw_name); 398 raw_name = concat2 (build_string ("/:"), raw_name);
399 399
400 Vinvocation_name = Ffile_name_nondirectory (raw_name); 400 Vinvocation_name = Ffile_name_nondirectory (raw_name);
@@ -411,8 +411,8 @@ init_cmdargs (int argc, char **argv, int skip_args)
411 { 411 {
412 /* Add /: to the front of the name 412 /* Add /: to the front of the name
413 if it would otherwise be treated as magic. */ 413 if it would otherwise be treated as magic. */
414 tem = Ffind_file_name_handler (found, Qt); 414 handler = Ffind_file_name_handler (found, Qt);
415 if (! NILP (tem)) 415 if (! NILP (handler))
416 found = concat2 (build_string ("/:"), found); 416 found = concat2 (build_string ("/:"), found);
417 Vinvocation_directory = Ffile_name_directory (found); 417 Vinvocation_directory = Ffile_name_directory (found);
418 } 418 }