emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/hyperdrive 5d710bedb7 02/16: Tidy: Compiler warning


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive 5d710bedb7 02/16: Tidy: Compiler warning
Date: Thu, 28 Sep 2023 19:00:44 -0400 (EDT)

branch: elpa/hyperdrive
commit 5d710bedb76e1eb835ed6855149b67c16ea588b7
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Tidy: Compiler warning
---
 hyperdrive-lib.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 5dcb95aaed..cb90867ba9 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -44,6 +44,10 @@
 (declare-function hyperdrive-mode "hyperdrive")
 (declare-function hyperdrive-dir-mode "hyperdrive-dir")
 
+(eval-and-compile
+  (when (< emacs-major-version 28)
+    (cl-pushnew '(modes ignore) defun-declarations-alist :test #'equal)))
+
 ;;;; Errors
 
 (define-error 'hyperdrive-error "hyperdrive error")



reply via email to

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