diff options
| author | Po Lu | 2023-07-18 22:01:17 +0800 |
|---|---|---|
| committer | Po Lu | 2023-07-18 22:01:17 +0800 |
| commit | f13c0464ccf3ab08db3cfd719fd86319dc1f3f95 (patch) | |
| tree | cb8e0d14a663be332187cf85dc2dd9b1f2526657 | |
| parent | a636a6607084944d675e0ecc32203f9546ab5120 (diff) | |
| download | emacs-f13c0464ccf3ab08db3cfd719fd86319dc1f3f95.tar.gz emacs-f13c0464ccf3ab08db3cfd719fd86319dc1f3f95.zip | |
Fix typos in touch-screen.el
* lisp/touch-screen.el (touch-screen-handle-point-update)
(touch-screen-handle-point-up): Fix typos.
| -rw-r--r-- | lisp/touch-screen.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/touch-screen.el b/lisp/touch-screen.el index ad27c28d5f9..4c43ec4b63f 100644 --- a/lisp/touch-screen.el +++ b/lisp/touch-screen.el | |||
| @@ -573,7 +573,7 @@ then move point to the position of POINT." | |||
| 573 | (> diff-x (frame-char-width))) | 573 | (> diff-x (frame-char-width))) |
| 574 | (< diff-y -10) | 574 | (< diff-y -10) |
| 575 | (and diff-x-eligible | 575 | (and diff-x-eligible |
| 576 | (< diff-x (frame-char-width)))) | 576 | (< diff-x (- (frame-char-width))))) |
| 577 | (setcar (nthcdr 3 touch-screen-current-tool) | 577 | (setcar (nthcdr 3 touch-screen-current-tool) |
| 578 | 'scroll) | 578 | 'scroll) |
| 579 | (setcar (nthcdr 2 touch-screen-current-tool) | 579 | (setcar (nthcdr 2 touch-screen-current-tool) |
| @@ -686,8 +686,9 @@ is not read-only." | |||
| 686 | window (posn-window posn)) | 686 | window (posn-window posn)) |
| 687 | ;; Select the window that was tapped given that it isn't | 687 | ;; Select the window that was tapped given that it isn't |
| 688 | ;; an inactive minibuffer window. | 688 | ;; an inactive minibuffer window. |
| 689 | (when (or (not (eq window) | 689 | (when (or (not (eq window |
| 690 | (minibuffer-window (window-frame window))) | 690 | (minibuffer-window |
| 691 | (window-frame window)))) | ||
| 691 | (minibuffer-window-active-p window)) | 692 | (minibuffer-window-active-p window)) |
| 692 | (select-window window)) | 693 | (select-window window)) |
| 693 | ;; Now simulate a mouse click there. If there is a link | 694 | ;; Now simulate a mouse click there. If there is a link |