diff options
| author | Richard M. Stallman | 1990-09-14 02:24:24 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1990-09-14 02:24:24 +0000 |
| commit | f55fb75ca1f021eea3ca748553350c289f5e4b4c (patch) | |
| tree | 84118a3a1d3aacffabc443f34fad3b84e0a09802 | |
| parent | 001cec62101f1ba490293380d09ad38548c0e4ed (diff) | |
| download | emacs-f55fb75ca1f021eea3ca748553350c289f5e4b4c.tar.gz emacs-f55fb75ca1f021eea3ca748553350c289f5e4b4c.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/mouse.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el index b7c77c2746b..924bc71d837 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el | |||
| @@ -47,8 +47,10 @@ | |||
| 47 | (if (consp relative-coordinate) | 47 | (if (consp relative-coordinate) |
| 48 | (progn | 48 | (progn |
| 49 | (move-to-window-line (car (cdr relative-coordinate))) | 49 | (move-to-window-line (car (cdr relative-coordinate))) |
| 50 | ;; Note that hscroll must get above 1 | ||
| 51 | ;; before the text actually starts to move. | ||
| 50 | (move-to-column (+ (car relative-coordinate) (current-column) | 52 | (move-to-column (+ (car relative-coordinate) (current-column) |
| 51 | (window-hscroll (selected-window)))) | 53 | (1- (max 1 (window-hscroll (selected-window)))))) |
| 52 | (what-line))))) | 54 | (what-line))))) |
| 53 | 55 | ||
| 54 | (defun mouse-eval-last-sexpr (event) | 56 | (defun mouse-eval-last-sexpr (event) |