aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1995-05-18 22:26:36 +0000
committerKarl Heuer1995-05-18 22:26:36 +0000
commit94129385f70af26409bb5c7403c99ddb2ba632b5 (patch)
tree8a234a34d13199ef2e3f51434261cc555cd9efd2 /src
parentca58b3ecc69741bbea351a9bded63fe99278ac68 (diff)
downloademacs-94129385f70af26409bb5c7403c99ddb2ba632b5.tar.gz
emacs-94129385f70af26409bb5c7403c99ddb2ba632b5.zip
(buffer_posn_from_coords): New arg to compute_motion.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index a01abacadcc..206cdb89661 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1509,9 +1509,10 @@ buffer_posn_from_coords (window, col, line)
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