Commit c27f1e01 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(xterm-mouse-event): Adjust for minibuffer prompt width.

parent 8a5a6d3e
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment