Skip to content

Commit

Permalink
(xterm-mouse-event): Adjust for minibuffer prompt width.
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard M. Stallman committed Jun 4, 1996
1 parent 1e55142 commit 31d85ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lisp/xt-mouse.el
Expand Up @@ -124,6 +124,10 @@
(goto-char (window-start window))
(move-to-window-line (cdr where))
(move-to-column (+ (car where) (current-column)
(if (string-match "\\` \\*Minibuf"
(buffer-name))
(- (minibuffer-prompt-width))
0)
(max 0 (1- (window-hscroll)))))
(point))
where))
Expand Down

0 comments on commit 31d85ce

Please sign in to comment.