aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmds.c b/src/cmds.c
index b416135ee9e..90d3cd6dced 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -47,10 +47,10 @@ DEFUN ("forward-point", Fforward_point, Sforward_point, 1, 1, 0,
47 return make_number (PT + XINT (n)); 47 return make_number (PT + XINT (n));
48} 48}
49 49
50/* Add N to point; or subtract N if FORWARD is zero. N defaults to 1. 50/* Add N to point; or subtract N if FORWARD is false. N defaults to 1.
51 Validate the new location. Return nil. */ 51 Validate the new location. Return nil. */
52static Lisp_Object 52static Lisp_Object
53move_point (Lisp_Object n, int forward) 53move_point (Lisp_Object n, bool forward)
54{ 54{
55 /* This used to just set point to point + XINT (n), and then check 55 /* This used to just set point to point + XINT (n), and then check
56 to see if it was within boundaries. But now that SET_PT can 56 to see if it was within boundaries. But now that SET_PT can
@@ -277,7 +277,7 @@ After insertion, the value of `auto-fill-function' is called if the
277At the end, it runs `post-self-insert-hook'. */) 277At the end, it runs `post-self-insert-hook'. */)
278 (Lisp_Object n) 278 (Lisp_Object n)
279{ 279{
280 int remove_boundary = 1; 280 bool remove_boundary = 1;
281 CHECK_NATNUM (n); 281 CHECK_NATNUM (n);
282 282
283 if (!EQ (Vthis_command, KVAR (current_kboard, Vlast_command))) 283 if (!EQ (Vthis_command, KVAR (current_kboard, Vlast_command)))
@@ -438,7 +438,7 @@ internal_self_insert (int c, EMACS_INT n)
438 : UNIBYTE_TO_CHAR (XFASTINT (Fprevious_char ()))) 438 : UNIBYTE_TO_CHAR (XFASTINT (Fprevious_char ())))
439 == Sword)) 439 == Sword))
440 { 440 {
441 int modiff = MODIFF; 441 EMACS_INT modiff = MODIFF;
442 Lisp_Object sym; 442 Lisp_Object sym;
443 443
444 sym = call0 (Qexpand_abbrev); 444 sym = call0 (Qexpand_abbrev);