Skip to content

Commit a5a3740

Browse files
author
Andrea Corallo
committed
* lisp/touch-screen.el (touch-screen-inhibit-drag): Fix 'not' arity use.
1 parent 923aad8 commit a5a3740

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lisp/touch-screen.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2066,9 +2066,9 @@ Must be called from a command bound to a `touchscreen-hold' or
20662066
`touchscreen-drag' event."
20672067
(let* ((tool touch-screen-current-tool)
20682068
(current-what (nth 4 tool)))
2069-
;; Signal an error if no hold or drag is in progress.
2070-
(when (and (not (eq current-what 'hold)
2071-
(eq current-what 'drag)))
2069+
;; Signal an error if no hold and no drag is in progress.
2070+
(when (and (not (eq current-what 'hold))
2071+
(not (eq current-what 'drag)))
20722072
(error "Calling `touch-screen-inhibit-drag' outside hold or drag"))
20732073
;; Now set the fourth element of tool to `command-inhibit'.
20742074
(setcar (nthcdr 3 tool) 'command-inhibit)))

0 commit comments

Comments
 (0)