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

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

[nongnu] elpa/hyperdrive 8613211d69 03/16: Tidy: Compilation warning


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive 8613211d69 03/16: Tidy: Compilation warning
Date: Thu, 28 Sep 2023 19:00:44 -0400 (EDT)

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

    Tidy: Compilation warning
---
 hyperdrive.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hyperdrive.el b/hyperdrive.el
index 0ba7efdaa2..c8fd804077 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -734,7 +734,8 @@ The return value of this function is the retrieval buffer."
            '((?y "yes" "kill buffer without saving")
              (?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)
+           nil nil (and (not (bound-and-true-p ;; Variable is new in Emacs 28.
+                              use-short-answers))
                         (not (when (fboundp 'use-dialog-box-p)
                                (with-no-warnings
                                  (use-dialog-box-p)))))))))



reply via email to

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