diff options
| author | Stefan Monnier | 2008-06-05 03:57:09 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-06-05 03:57:09 +0000 |
| commit | c876b227d9b0cbd09bbb8c07db0a3cb0d85fae78 (patch) | |
| tree | 36b9cdbe3c2af0181b8e074c80a98e1119597f03 /src/dispextern.h | |
| parent | 927abf37e2793fae653540cca8b4c324c65e448f (diff) | |
| download | emacs-c876b227d9b0cbd09bbb8c07db0a3cb0d85fae78.tar.gz emacs-c876b227d9b0cbd09bbb8c07db0a3cb0d85fae78.zip | |
* window.c (window_scroll_pixel_based_preserve_x)
(window_scroll_preserve_hpos, window_scroll_preserve_vpos): New vars.
(window_scroll_pixel_based, window_scroll_line_based):
Use them to preserve column positions.
(syms_of_window): Initialize them.
* indent.c (Fvertical_motion): Extend first arg to allow passing an
(HPOS . VPOS) pair.
* xdisp.c (move_it_in_display_line_to): Improve the type of its args.
(move_it_in_display_line): New wrapper.
* dispextern.h (move_it_in_display_line): Declare.
Diffstat (limited to 'src/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 4a4c731748b..969f1c55021 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -2685,6 +2685,9 @@ void move_it_vertically P_ ((struct it *, int)); | |||
| 2685 | void move_it_vertically_backward P_ ((struct it *, int)); | 2685 | void move_it_vertically_backward P_ ((struct it *, int)); |
| 2686 | void move_it_by_lines P_ ((struct it *, int, int)); | 2686 | void move_it_by_lines P_ ((struct it *, int, int)); |
| 2687 | void move_it_past_eol P_ ((struct it *)); | 2687 | void move_it_past_eol P_ ((struct it *)); |
| 2688 | void move_it_in_display_line (struct it *it, | ||
| 2689 | EMACS_INT to_charpos, int to_x, | ||
| 2690 | enum move_operation_enum op); | ||
| 2688 | int in_display_vector_p P_ ((struct it *)); | 2691 | int in_display_vector_p P_ ((struct it *)); |
| 2689 | int frame_mode_line_height P_ ((struct frame *)); | 2692 | int frame_mode_line_height P_ ((struct frame *)); |
| 2690 | void highlight_trailing_whitespace P_ ((struct frame *, struct glyph_row *)); | 2693 | void highlight_trailing_whitespace P_ ((struct frame *, struct glyph_row *)); |