]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/touch-screen.el (touch-screen-inhibit-drag): Fix typo.
authorPo Lu <luangruo@yahoo.com>
Tue, 25 Jun 2024 04:27:08 +0000 (12:27 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 26 Jun 2024 13:32:23 +0000 (15:32 +0200)
(cherry picked from commit 0e43606b20d4ce1c094dfc41ee90f46517aa7419)

lisp/touch-screen.el

index 8b917573bee1bc4854e5a46ed63a9e8cdd360a26..ddae698ba1ec7e5c65c9191aea09c0381df64e51 100644 (file)
@@ -2064,7 +2064,7 @@ sent until the touch sequence currently being translated ends.
 Must be called from a command bound to a `touchscreen-hold' or
 `touchscreen-drag' event."
   (let* ((tool touch-screen-current-tool)
-         (current-what (nth 4 tool)))
+         (current-what (nth 3 tool)))
     ;; Signal an error if no hold and no drag is in progress.
     (when (and (not (eq current-what 'hold))
                (not (eq current-what 'drag)))