1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

* lisp/touch-screen.el (touch-screen-inhibit-drag): Another typo.

This commit is contained in:
Po Lu 2024-06-25 12:52:23 +08:00
parent a4ca30ac2e
commit 60b38c317b

View File

@ -2067,7 +2067,7 @@ Must be called from a command bound to a `touchscreen-hold' or
(let* ((tool touch-screen-current-tool) (let* ((tool touch-screen-current-tool)
(current-what (nth 3 tool))) (current-what (nth 3 tool)))
;; Signal an error if no hold and no drag is in progress. ;; 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))) (not (eq current-what 'drag)))
(error "Calling `touch-screen-inhibit-drag' outside hold or drag")) (error "Calling `touch-screen-inhibit-drag' outside hold or drag"))
;; Now set the fourth element of tool to `command-inhibit'. ;; Now set the fourth element of tool to `command-inhibit'.