]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix compilation errors in completion-preview.el
authorEli Zaretskii <eliz@gnu.org>
Tue, 2 Jan 2024 17:10:33 +0000 (19:10 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 2 Jan 2024 17:10:33 +0000 (19:10 +0200)
* lisp/completion-preview.el (mouse-wheel-up-event)
(mouse-wheel-up-alternate-event, mouse-wheel-down-event)
(mouse-wheel-down-alternate-event): Defvar, to avoid warnings and
errors in builds --without-x.  (Bug#68213)

lisp/completion-preview.el

index da4afb8f66ada0d01b0eadd38f52376032648975..baadb4714b1daaeaf98c965e71e4610a9107ab10 100644 (file)
@@ -128,6 +128,10 @@ If this option is nil, these commands do not display any message."
   ;; "M-p" #'completion-preview-prev-candidate
   )
 
+(defvar mouse-wheel-up-event)
+(defvar mouse-wheel-up-alternate-event)
+(defvar mouse-wheel-down-event)
+(defvar mouse-wheel-down-alternate-event)
 (defvar-keymap completion-preview--mouse-map
   :doc "Keymap for mouse clicks on the completion preview."
   "<down-mouse-1>" #'completion-preview-insert