diff options
| author | Paul Eggert | 2011-03-13 20:43:36 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-13 20:43:36 -0700 |
| commit | 74f10ca71b51e3df88317eab85ad64504f69cc40 (patch) | |
| tree | 5024ffab2a50f07fc4aee240aa21bbdeb10c8f84 /src | |
| parent | 603935076c44ddba546c2f8f0e70d9a664f9aac2 (diff) | |
| download | emacs-74f10ca71b51e3df88317eab85ad64504f69cc40.tar.gz emacs-74f10ca71b51e3df88317eab85ad64504f69cc40.zip | |
* emacs.c (init_cmdargs): Rename local to avoid shadowing.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/emacs.c | 10 |
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 @@ | |||
| 1 | 2011-03-14 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-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 | |||
| 382 | init_cmdargs (int argc, char **argv, int skip_args) | 382 | init_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 | } |