Commit 451e00e7 authored by Po Lu's avatar Po Lu
Browse files

; Fix compiler warnings

* lisp/tab-bar.el (touch-screen-delay):

* lisp/tab-line.el (touch-screen-delay): Declare variables.

* lisp/touch-screen.el (touch-screen-hold): Autoload.
parent 83dfdac0
Pipeline #27404 failed with stage
in 12 minutes and 28 seconds
......@@ -416,6 +416,8 @@ Beep, then throw to `context-menu' and return."
(beep)
(throw 'context-menu 'context-menu))
(defvar touch-screen-delay)
(defun tab-bar-touchscreen-begin (event)
"Handle a touchscreen begin EVENT on the tab bar.
......
......@@ -958,6 +958,8 @@ sight of the tab line."
;;; Touch screen support.
(defvar touch-screen-delay)
(defun tab-line-track-tap (event &optional function)
"Track a tap starting from EVENT.
If EVENT is not a `touchscreen-begin' event, return t.
......
......@@ -320,6 +320,7 @@ the event."
;;; Drag-to-select gesture.
;;;###autoload
(defun touch-screen-hold (event)
"Handle a long press EVENT.
Ding and select the window at EVENT, then activate the mark. If
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment