emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7592c3a6e0d: ; Fix compilation errors in completion-preview.el


From: Eli Zaretskii
Subject: master 7592c3a6e0d: ; Fix compilation errors in completion-preview.el
Date: Tue, 2 Jan 2024 12:11:34 -0500 (EST)

branch: master
commit 7592c3a6e0d9dc50d818bd0499b8a074b265f666
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Fix compilation errors in completion-preview.el
    
    * 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 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lisp/completion-preview.el b/lisp/completion-preview.el
index da4afb8f66a..baadb4714b1 100644
--- a/lisp/completion-preview.el
+++ b/lisp/completion-preview.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]