[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 627edace7b 6/8: Tidy: Compiler warning about us
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 627edace7b 6/8: Tidy: Compiler warning about use-dialog-box-p |
Date: |
Wed, 27 Sep 2023 19:00:42 -0400 (EDT) |
branch: elpa/hyperdrive
commit 627edace7b799508dddf328df9c58009a9ec595d
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Tidy: Compiler warning about use-dialog-box-p
use-dialog-box-p is in Emacs 29+.
---
hyperdrive.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hyperdrive.el b/hyperdrive.el
index 5ce658be9c..0ba7efdaa2 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -735,7 +735,9 @@ The return value of this function is the retrieval buffer."
(?n "no" "exit without doing anything")
(?s "save and then kill" "save the buffer and then kill it"))
nil nil (and (not use-short-answers)
- (not (use-dialog-box-p)))))))
+ (not (when (fboundp 'use-dialog-box-p)
+ (with-no-warnings
+ (use-dialog-box-p)))))))))
(if (equal response "no")
nil
(unless (equal response "yes")
- [nongnu] elpa/hyperdrive updated (9dacf1f39b -> 38a4f74ab6), ELPA Syncer, 2023/09/27
- [nongnu] elpa/hyperdrive 72d124eeeb 2/8: Merge branch 'wip/ci-nix-caching', ELPA Syncer, 2023/09/27
- [nongnu] elpa/hyperdrive 627edace7b 6/8: Tidy: Compiler warning about use-dialog-box-p,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive df2387892d 3/8: Meta: Acknowledge Steve Purcell and Akira Komamura, ELPA Syncer, 2023/09/27
- [nongnu] elpa/hyperdrive e214d0b6c6 4/8: Tidy: (hyperdrive--clean-buffer) Compiler warning, ELPA Syncer, 2023/09/27
- [nongnu] elpa/hyperdrive 8c0bec7223 5/8: Tidy: Compiler warning, ELPA Syncer, 2023/09/27
- [nongnu] elpa/hyperdrive be025758d1 7/8: Tidy: Compiler warning, ELPA Syncer, 2023/09/27
- [nongnu] elpa/hyperdrive 38a4f74ab6 8/8: Meta: Add build status badge, ELPA Syncer, 2023/09/27
- [nongnu] elpa/hyperdrive ceeb24d265 1/8: Meta: Enable Nix caching in CI builds, ELPA Syncer, 2023/09/27