emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-30 0e43606b20d: * lisp/touch-screen.el (touch-screen-inhibit-drag)


From: Po Lu
Subject: emacs-30 0e43606b20d: * lisp/touch-screen.el (touch-screen-inhibit-drag): Fix typo.
Date: Tue, 25 Jun 2024 00:27:22 -0400 (EDT)

branch: emacs-30
commit 0e43606b20d4ce1c094dfc41ee90f46517aa7419
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    * lisp/touch-screen.el (touch-screen-inhibit-drag): Fix typo.
---
 lisp/touch-screen.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/touch-screen.el b/lisp/touch-screen.el
index 792e1be5ff9..aa4bded8975 100644
--- a/lisp/touch-screen.el
+++ b/lisp/touch-screen.el
@@ -2065,7 +2065,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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]