aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/callint.c22
2 files changed, 12 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d87c1d0fbcb..e70683dd12a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,7 @@
12011-03-16 Paul Eggert <eggert@cs.ucla.edu> 12011-03-16 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * callint.c (quotify_arg, quotify_args): Now static. 3 * callint.c (quotify_arg, quotify_args): Now static.
4 (Fcall_interactively): Rename locals to avoid shadowing.
4 5
5 * lisp.h (get_system_name, get_operating_system_release): 6 * lisp.h (get_system_name, get_operating_system_release):
6 Move decls here, to check interfaces. 7 Move decls here, to check interfaces.
diff --git a/src/callint.c b/src/callint.c
index af9ee5bb9bd..5ec916a5b8a 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -408,25 +408,25 @@ invoke it. If KEYS is omitted or nil, the return value of
408 string++; 408 string++;
409 else if (*string == '@') 409 else if (*string == '@')
410 { 410 {
411 Lisp_Object event, tem; 411 Lisp_Object event, w;
412 412
413 event = (next_event < key_count 413 event = (next_event < key_count
414 ? AREF (keys, next_event) 414 ? AREF (keys, next_event)
415 : Qnil); 415 : Qnil);
416 if (EVENT_HAS_PARAMETERS (event) 416 if (EVENT_HAS_PARAMETERS (event)
417 && (tem = XCDR (event), CONSP (tem)) 417 && (w = XCDR (event), CONSP (w))
418 && (tem = XCAR (tem), CONSP (tem)) 418 && (w = XCAR (w), CONSP (w))
419 && (tem = XCAR (tem), WINDOWP (tem))) 419 && (w = XCAR (w), WINDOWP (w)))
420 { 420 {
421 if (MINI_WINDOW_P (XWINDOW (tem)) 421 if (MINI_WINDOW_P (XWINDOW (w))
422 && ! (minibuf_level > 0 && EQ (tem, minibuf_window))) 422 && ! (minibuf_level > 0 && EQ (w, minibuf_window)))
423 error ("Attempt to select inactive minibuffer window"); 423 error ("Attempt to select inactive minibuffer window");
424 424
425 /* If the current buffer wants to clean up, let it. */ 425 /* If the current buffer wants to clean up, let it. */
426 if (!NILP (Vmouse_leave_buffer_hook)) 426 if (!NILP (Vmouse_leave_buffer_hook))
427 call1 (Vrun_hooks, Qmouse_leave_buffer_hook); 427 call1 (Vrun_hooks, Qmouse_leave_buffer_hook);
428 428
429 Fselect_window (tem, Qnil); 429 Fselect_window (w, Qnil);
430 } 430 }
431 string++; 431 string++;
432 } 432 }
@@ -679,7 +679,7 @@ invoke it. If KEYS is omitted or nil, the return value of
679 int first = 1; 679 int first = 1;
680 do 680 do
681 { 681 {
682 Lisp_Object tem; 682 Lisp_Object str;
683 if (! first) 683 if (! first)
684 { 684 {
685 message ("Please enter a number."); 685 message ("Please enter a number.");
@@ -687,13 +687,13 @@ invoke it. If KEYS is omitted or nil, the return value of
687 } 687 }
688 first = 0; 688 first = 0;
689 689
690 tem = Fread_from_minibuffer (callint_message, 690 str = Fread_from_minibuffer (callint_message,
691 Qnil, Qnil, Qnil, Qnil, Qnil, 691 Qnil, Qnil, Qnil, Qnil, Qnil,
692 Qnil); 692 Qnil);
693 if (! STRINGP (tem) || SCHARS (tem) == 0) 693 if (! STRINGP (str) || SCHARS (str) == 0)
694 args[i] = Qnil; 694 args[i] = Qnil;
695 else 695 else
696 args[i] = Fread (tem); 696 args[i] = Fread (str);
697 } 697 }
698 while (! NUMBERP (args[i])); 698 while (! NUMBERP (args[i]));
699 } 699 }