[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 8c0bec7223 5/8: Tidy: Compiler warning
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 8c0bec7223 5/8: Tidy: Compiler warning |
Date: |
Wed, 27 Sep 2023 19:00:41 -0400 (EDT) |
branch: elpa/hyperdrive
commit 8c0bec7223e55419300cd4d3fffff2c5d61c5268
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Tidy: Compiler warning
---
hyperdrive-dir.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/hyperdrive-dir.el b/hyperdrive-dir.el
index bfecdce651..a227ceb308 100644
--- a/hyperdrive-dir.el
+++ b/hyperdrive-dir.el
@@ -382,11 +382,12 @@ see Info node `(elisp)Yanking Media'."
(add-hook 'hyperdrive-dir-mode-hook
(lambda ()
- (yank-media-handler
- "image/.*" (with-no-warnings
- ;; Silence byte-compiler warning about the
- ;; function not being known.
- #'hyperdrive-dir--yank-media-image-handler)))))
+ ;; Silence compiler warning about `yank-media-handler' not being
+ ;; defined in earlier versions of Emacs.
(`with-suppressed-warnings'
+ ;; doesn't allow suppressing this warning.)
+ (with-no-warnings
+ (yank-media-handler
+ "image/.*" #'hyperdrive-dir--yank-media-image-handler)))))
(provide 'hyperdrive-dir)
;;; hyperdrive-dir.el ends here
- [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, 2023/09/27
- [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 <=
- [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