aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorPaul Eggert2011-03-06 02:27:06 -0800
committerPaul Eggert2011-03-06 02:27:06 -0800
commit7831777b8a9e8d2f68bd17058359ea8849d66f70 (patch)
tree633cc6fdd638927360ff83619a32def87ed02b4c /src/bytecode.c
parent179b8720a2e5c37d18ab8f601b982fdcabd19626 (diff)
downloademacs-7831777b8a9e8d2f68bd17058359ea8849d66f70.tar.gz
emacs-7831777b8a9e8d2f68bd17058359ea8849d66f70.zip
current_column: Now returns EMACS_INT, fixing some iftc.
* bytecode.c (Fbyte_code): Don't cast current_column () to int. * cmds.c (internal_self_insert): Likewise. * indent.c (Fcurrent_column): Likewise. * keymap.c (describe_command): Likewise. * minibuf.c (read_minibuf): Likewise. * indent.c (Fcurrent_indentation): Don't cast position_indentation () to int. * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): Likewise. * cmds.c (internal_self_insert): Declare locals to be EMACS_INT, not int or double, if they might contain a column number. * indent.c (current_column, Findent_to, indented_beyond_p): (compute_motion, vmotion): Likewise. * keymap.c (describe_command): Likewise. * xdisp.c (pint2str): Likewise. * indent.c (last_known_column): Now EMACS_INT, not int. * minibuf.c (minibuf_prompt_width): Likewise. * indent.c (current_column, current_column_1, position_indentation): Return EMACS_INT, not double. * lisp.h (current_column): Likewise. * indent.c (indented_beyond_p): Last arg is now EMACS_INT, not double. All callers changed. * lisp.h (indented_beyond_p): Likewise.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index cf4a1fc225f..bb4e87c019d 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -1323,7 +1323,7 @@ If the third argument is incorrect, Emacs may crash. */)
1323 { 1323 {
1324 Lisp_Object v1; 1324 Lisp_Object v1;
1325 BEFORE_POTENTIAL_GC (); 1325 BEFORE_POTENTIAL_GC ();
1326 XSETFASTINT (v1, (int) current_column ()); /* iftc */ 1326 XSETFASTINT (v1, current_column ());
1327 AFTER_POTENTIAL_GC (); 1327 AFTER_POTENTIAL_GC ();
1328 PUSH (v1); 1328 PUSH (v1);
1329 break; 1329 break;