]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix compiler warnings
authorPo Lu <luangruo@yahoo.com>
Thu, 7 Dec 2023 05:14:51 +0000 (13:14 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 7 Dec 2023 05:14:51 +0000 (13:14 +0800)
* lisp/tab-bar.el (touch-screen-delay):

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

* lisp/touch-screen.el (touch-screen-hold): Autoload.

lisp/tab-bar.el
lisp/tab-line.el
lisp/touch-screen.el

index e21367255a0cf947b816065696c9bb8d12b4a7d7..4fda4b027a6d2196573f5120c9b926efffb1c581 100644 (file)
@@ -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.
 
index 4637dafcd90b805fa958beb6a7e66652a1a3e916..0c9ef72084b8387c709d95d679e3eff79a20c24c 100644 (file)
@@ -958,6 +958,8 @@ sight of the tab line."
 \f
 ;;; 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.
index be08ae1d3c8261d809e5e819dc1d4ab53bddf630..bae0e097688a3b803625f3051ea510d3084f6d43 100644 (file)
@@ -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