Changed kill buffer from C-x C-k to C-x k to avoid interfering with macro counters.