[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 0fbfd42: ; Avoid byte-compilation warnings in edmacro.el
From: |
Eli Zaretskii |
Subject: |
emacs-28 0fbfd42: ; Avoid byte-compilation warnings in edmacro.el |
Date: |
Sat, 20 Nov 2021 06:01:18 -0500 (EST) |
branch: emacs-28
commit 0fbfd4253ece9e5271509454cd2bbab5359e4b67
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Avoid byte-compilation warnings in edmacro.el
* lisp/edmacro.el (mouse-wheel-down-event, mouse-wheel-up-event)
(mouse-wheel-right-event, mouse-wheel-left-event): Defvar them, to
avoid compilation warnings in --without-x builds.
---
lisp/edmacro.el | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lisp/edmacro.el b/lisp/edmacro.el
index e90b3a0..42c164a 100644
--- a/lisp/edmacro.el
+++ b/lisp/edmacro.el
@@ -601,6 +601,12 @@ This function assumes that the events can be stored in a
string."
(setf (aref seq i) (logand (aref seq i) 127))))
seq)
+;; These are needed in a --without-x build.
+(defvar mouse-wheel-down-event)
+(defvar mouse-wheel-up-event)
+(defvar mouse-wheel-right-event)
+(defvar mouse-wheel-left-event)
+
(defun edmacro-fix-menu-commands (macro &optional noerror)
(if (vectorp macro)
(let (result)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 0fbfd42: ; Avoid byte-compilation warnings in edmacro.el,
Eli Zaretskii <=