Mercurial > emacs
comparison src/dispnew.c @ 11851:b90c2cdd9627
(buffer_posn_from_coords): New arg to compute_motion.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 18 May 1995 22:26:36 +0000 |
parents | 58e13b7bc232 |
children | 343ec791e9be |
comparison
equal
deleted
inserted
replaced
11850:f9174d73e755 | 11851:b90c2cdd9627 |
---|---|
1507 /* It would be nice if we could use FRAME_CURRENT_GLYPHS (XFRAME | 1507 /* It would be nice if we could use FRAME_CURRENT_GLYPHS (XFRAME |
1508 (window->frame))->bufp to avoid scanning from the very top of | 1508 (window->frame))->bufp to avoid scanning from the very top of |
1509 the window, but it isn't maintained correctly, and I'm not even | 1509 the window, but it isn't maintained correctly, and I'm not even |
1510 sure I will keep it. */ | 1510 sure I will keep it. */ |
1511 posn = compute_motion (startp, 0, | 1511 posn = compute_motion (startp, 0, |
1512 (window == XWINDOW (minibuf_window) && startp == 1 | 1512 ((window == XWINDOW (minibuf_window) && startp == BEG |
1513 ? minibuf_prompt_width : 0) | 1513 ? minibuf_prompt_width : 0) |
1514 + (hscroll ? 1 - hscroll : 0), | 1514 + (hscroll ? 1 - hscroll : 0)), |
1515 0, | |
1515 ZV, line, col, | 1516 ZV, line, col, |
1516 window_width, hscroll, 0, window); | 1517 window_width, hscroll, 0, window); |
1517 | 1518 |
1518 current_buffer = old_current_buffer; | 1519 current_buffer = old_current_buffer; |
1519 | 1520 |