diff options
| author | Paul Eggert | 2011-03-06 02:53:51 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-06 02:53:51 -0800 |
| commit | 5f349a895b72500a6a33d6610195f7141cf8252f (patch) | |
| tree | bb1207756d00ad0133f8299ebe95c56ceda97213 /src/ChangeLog | |
| parent | 1e12733b25bfa52650157c34fc30a9c7fe1d5b4c (diff) | |
| parent | 7831777b8a9e8d2f68bd17058359ea8849d66f70 (diff) | |
| download | emacs-5f349a895b72500a6a33d6610195f7141cf8252f.tar.gz emacs-5f349a895b72500a6a33d6610195f7141cf8252f.zip | |
Merge: current_column: Now returns EMACS_INT, fixing some iftc
that was introduced in the 2002-06-02 change "temporarily"; see
<http://lists.gnu.org/archive/html/emacs-devel/2002-06/msg00039.html>.
* 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.
* minibuf.c (minibuf_prompt, minibuf_prompt_width): Move here
from xdisp.c, and make static, since these are used only here.
* window.h, xdisp.c (minibuf_prompt, minibuf_prompt_width):
Remove decls.
* xdisp.c (redisplay_window): Reindent to match Emacs style.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 357bb9a37a8..a96edcdfdca 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,6 +1,39 @@ | |||
| 1 | 2011-03-06 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-03-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | current_column: Now returns EMACS_INT, fixing some iftc | ||
| 4 | that was introduced in the 2002-06-02 change "temporarily"; see | ||
| 5 | <http://lists.gnu.org/archive/html/emacs-devel/2002-06/msg00039.html>. | ||
| 6 | * bytecode.c (Fbyte_code): Don't cast current_column () to int. | ||
| 7 | * cmds.c (internal_self_insert): Likewise. | ||
| 8 | * indent.c (Fcurrent_column): Likewise. | ||
| 9 | * keymap.c (describe_command): Likewise. | ||
| 10 | * minibuf.c (read_minibuf): Likewise. | ||
| 11 | * indent.c (Fcurrent_indentation): Don't cast position_indentation () | ||
| 12 | to int. | ||
| 13 | * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): | ||
| 14 | Likewise. | ||
| 15 | * cmds.c (internal_self_insert): Declare locals to be EMACS_INT, | ||
| 16 | not int or double, if they might contain a column number. | ||
| 17 | * indent.c (current_column, Findent_to, indented_beyond_p): | ||
| 18 | (compute_motion, vmotion): Likewise. | ||
| 19 | * keymap.c (describe_command): Likewise. | ||
| 20 | * xdisp.c (pint2str): Likewise. | ||
| 21 | * indent.c (last_known_column): Now EMACS_INT, not int. | ||
| 22 | * minibuf.c (minibuf_prompt_width): Likewise. | ||
| 23 | * indent.c (current_column, current_column_1, position_indentation): | ||
| 24 | Return EMACS_INT, not double. | ||
| 25 | * lisp.h (current_column): Likewise. | ||
| 26 | * indent.c (indented_beyond_p): Last arg is now EMACS_INT, not double. | ||
| 27 | All callers changed. | ||
| 28 | * lisp.h (indented_beyond_p): Likewise. | ||
| 29 | |||
| 30 | * minibuf.c (minibuf_prompt, minibuf_prompt_width): Move here | ||
| 31 | from xdisp.c, and make static, since these are used only here. | ||
| 32 | * window.h, xdisp.c (minibuf_prompt, minibuf_prompt_width): | ||
| 33 | Remove decls. | ||
| 34 | |||
| 3 | * cmds.c (internal_self_insert): Reindent to match Emacs style. | 35 | * cmds.c (internal_self_insert): Reindent to match Emacs style. |
| 36 | * xdisp.c (redisplay_window): Likewise. | ||
| 4 | 37 | ||
| 5 | * xdisp.c: Rename or move local decls to avoid shadowing. | 38 | * xdisp.c: Rename or move local decls to avoid shadowing. |
| 6 | (init_iterator, handle_fontified_prop, handle_single_display_spec): | 39 | (init_iterator, handle_fontified_prop, handle_single_display_spec): |