/* Simple built-in editing commands.
-Copyright (C) 1985, 1993-1998, 2001-2011 Free Software Foundation, Inc.
+Copyright (C) 1985, 1993-1998, 2001-2012 Free Software Foundation, Inc.
This file is part of GNU Emacs.
#include <setjmp.h>
#include "lisp.h"
#include "commands.h"
-#include "buffer.h"
#include "character.h"
+#include "buffer.h"
#include "syntax.h"
#include "window.h"
#include "keyboard.h"
}
replace_range (PT, PT + chars_to_delete, string, 1, 1, 1);
- move_point (n + spaces_to_insert, 1);
+ Fforward_char (make_number (n + spaces_to_insert));
}
else if (n > 1)
{