mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
(xterm-mouse-event): Adjust for minibuffer prompt width.
This commit is contained in:
parent
8a5a6d3e6d
commit
c27f1e0119
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user