emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117414: Fixes: debbugs:18140


From: Andreas Schwab
Subject: [Emacs-diffs] emacs-24 r117414: Fixes: debbugs:18140
Date: Tue, 29 Jul 2014 08:09:01 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117414
revision-id: address@hidden
parent: address@hidden
committer: Andreas Schwab <address@hidden>
branch nick: emacs
timestamp: Tue 2014-07-29 10:08:04 +0200
message:
  Fixes: debbugs:18140
  
  * macros.c (Fstart_kbd_macro): Initialize kbd_macro_ptr and
  kbd_macro_end together with kbd_macro_buffer.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/macros.c                   macros.c-20091113204419-o5vbwnq5f7feedwu-217
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-07-28 13:09:02 +0000
+++ b/src/ChangeLog     2014-07-29 08:08:04 +0000
@@ -1,3 +1,8 @@
+2014-07-29  Andreas Schwab  <address@hidden>
+
+       * macros.c (Fstart_kbd_macro): Initialize kbd_macro_ptr and
+       kbd_macro_end together with kbd_macro_buffer.  (Bug#18140)
+
 2014-07-28  Eli Zaretskii  <address@hidden>
 
        * xdisp.c (display_line): If called with iterator set up to write

=== modified file 'src/macros.c'
--- a/src/macros.c      2014-02-09 01:48:47 +0000
+++ b/src/macros.c      2014-07-29 08:08:04 +0000
@@ -65,6 +65,8 @@
     {
       current_kboard->kbd_macro_buffer = xmalloc (30 * word_size);
       current_kboard->kbd_macro_bufsize = 30;
+      current_kboard->kbd_macro_ptr = current_kboard->kbd_macro_buffer;
+      current_kboard->kbd_macro_end = current_kboard->kbd_macro_buffer;
     }
   update_mode_lines = 19;
   if (NILP (append))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]