]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/callint.c (Fcall_interactively): Fix up last change.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 17 Jun 2014 13:50:22 +0000 (09:50 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 17 Jun 2014 13:50:22 +0000 (09:50 -0400)
Fixes: debbugs:17701
src/ChangeLog
src/callint.c
src/editfns.c
src/keyboard.c
src/lread.c

index 177cfab160ef7d9f427741f0db283a46ca9ed42b..7917953d09ab4bd89448e563f73e4d2c13bf3709 100644 (file)
@@ -1,3 +1,7 @@
+2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * callint.c (Fcall_interactively): Fix up last change (bug#17701).
+
 2014-06-17  Dmitry Antipov  <dmantipov@yandex.ru>
 
        * fileio.c (Fread_file_name): Do not pass redundant args and ...
index b4dbc7efd2a198deeb94c7e6b8deeb2a7750f308..817f84d897be5d5335098e1c67b3eae4a0299e8c 100644 (file)
@@ -535,7 +535,7 @@ invoke it.  If KEYS is omitted or nil, the return value of
     {
       visargs[1] = make_string (tem + 1, strcspn (tem + 1, "\n"));
       if (strchr (SSDATA (visargs[1]), '%'))
-       callint_message = Fformat (i, visargs);
+       callint_message = Fformat (i - 1, visargs + 1);
       else
        callint_message = visargs[1];
 
index 9c1fcb0b7906f818cbc67a5e957af069a3a6b51c..40fac27ba4714260b96239b31996c414ab15ec62 100644 (file)
@@ -3600,7 +3600,7 @@ specifier truncates the string to the given width.
 usage: (format STRING &rest OBJECTS)  */)
   (ptrdiff_t nargs, Lisp_Object *args)
 {
-  ptrdiff_t n;         /* The number of the next arg to substitute */
+  ptrdiff_t n;         /* The number of the next arg to substitute */
   char initial_buffer[4000];
   char *buf = initial_buffer;
   ptrdiff_t bufsize = sizeof initial_buffer;
index dcf89137a5c261c70011a45e1eed5dd860a4b5d9..23f05407508658f937a92dd20a2a28aea7ca425f 100644 (file)
@@ -3654,7 +3654,8 @@ kbd_buffer_store_event_hold (register struct input_event *event,
       *kbd_store_ptr = *event;
       ++kbd_store_ptr;
 #ifdef subprocesses
-      if (kbd_buffer_nr_stored () > KBD_BUFFER_SIZE/2 && ! kbd_on_hold_p ())
+      if (kbd_buffer_nr_stored () > KBD_BUFFER_SIZE / 2
+         && ! kbd_on_hold_p ())
         {
           /* Don't read keyboard input until we have processed kbd_buffer.
              This happens when pasting text longer than KBD_BUFFER_SIZE/2.  */
@@ -7481,8 +7482,8 @@ menu_bar_items (Lisp_Object old)
   {
     int i = menu_bar_items_index;
     if (i + 4 > ASIZE (menu_bar_items_vector))
-      menu_bar_items_vector =
-       larger_vector (menu_bar_items_vector, 4, -1);
+      menu_bar_items_vector
+       larger_vector (menu_bar_items_vector, 4, -1);
     /* Add this item.  */
     ASET (menu_bar_items_vector, i, Qnil); i++;
     ASET (menu_bar_items_vector, i, Qnil); i++;
index 4edd1177fb45a7cb476841b9077b0916c52c224f..41ea1f19227b4067e47ef521e58da5b72e16ee0e 100644 (file)
@@ -3850,7 +3850,7 @@ it defaults to the value of `obarray'.  */)
       SET_SYMBOL_VAL (XSYMBOL (sym), sym);
     }
 
-  ptr = aref_addr (obarray, XINT(tem));
+  ptr = aref_addr (obarray, XINT (tem));
   if (SYMBOLP (*ptr))
     set_symbol_next (sym, XSYMBOL (*ptr));
   else