Merge from savannah/emacs-30
60b38c317b
* lisp/touch-screen.el (touch-screen-inhibit-drag): Anoth...
This commit is contained in:
commit
b9da5ee06f
1 changed files with 1 additions and 1 deletions
|
@ -2067,7 +2067,7 @@ Must be called from a command bound to a `touchscreen-hold' or
|
|||
(let* ((tool touch-screen-current-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))
|
||||
(when (and (not (eq current-what 'held))
|
||||
(not (eq current-what 'drag)))
|
||||
(error "Calling `touch-screen-inhibit-drag' outside hold or drag"))
|
||||
;; Now set the fourth element of tool to `command-inhibit'.
|
||||
|
|
Loading…
Add table
Reference in a new issue