[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 7dac02f175 02/14: Fix: (-dir--yank-media-image-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 7dac02f175 02/14: Fix: (-dir--yank-media-image-handler) Use current drive by default |
Date: |
Wed, 11 Oct 2023 04:00:44 -0400 (EDT) |
branch: elpa/hyperdrive
commit 7dac02f175e084a82dba89a578e2790354125249
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Fix: (-dir--yank-media-image-handler) Use current drive by default
---
hyperdrive-dir.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/hyperdrive-dir.el b/hyperdrive-dir.el
index 0f1961019d..b382891849 100644
--- a/hyperdrive-dir.el
+++ b/hyperdrive-dir.el
@@ -348,9 +348,11 @@ see Info node `(elisp)Yanking Media'."
;; TODO: Extend this to other media types?
(cl-assert (and hyperdrive-current-entry
(hyperdrive--entry-directory-p hyperdrive-current-entry)))
- (let ((entry (hyperdrive-read-entry :predicate #'hyperdrive-writablep
- :default-path (hyperdrive-entry-path
hyperdrive-current-entry)
- :latest-version t)))
+ (pcase-let* (((cl-struct hyperdrive-entry hyperdrive path)
hyperdrive-current-entry)
+ (entry (hyperdrive-read-entry :hyperdrive (and
(hyperdrive-writablep hyperdrive)
+ hyperdrive)
+ :predicate
#'hyperdrive-writablep
+ :default-path path
:latest-version t)))
(hyperdrive-api 'put (hyperdrive-entry-url entry)
:body-type 'binary
;; TODO: Pass MIME type in a header? hyper-gateway detects it for us.
- [nongnu] elpa/hyperdrive updated (836c9f746e -> f228e19927), ELPA Syncer, 2023/10/11
- [nongnu] elpa/hyperdrive f228e19927 14/14: Change: (hyperdrive-menu) Add "Jump" binding, ELPA Syncer, 2023/10/11
- [nongnu] elpa/hyperdrive d950221ad0 01/14: Change: (hyperdrive-read-entry) Accept HYPERDRIVE argument, ELPA Syncer, 2023/10/11
- [nongnu] elpa/hyperdrive 7dac02f175 02/14: Fix: (-dir--yank-media-image-handler) Use current drive by default,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 21c8282c18 07/14: Tidy: (hyperdrive-menu) Remove unnecessary :transient-row, ELPA Syncer, 2023/10/11
- [nongnu] elpa/hyperdrive 586ff58d8d 05/14: Change: (hyperdrive-menu-hyperdrive) Add find file and view file, ELPA Syncer, 2023/10/11
- [nongnu] elpa/hyperdrive 859ff891ae 10/14: Change: (-dir-handler) Change parent display name from ".." to "../", ELPA Syncer, 2023/10/11
- [nongnu] elpa/hyperdrive 10275fa1f1 03/14: Change: (hyperdrive-complete-hyperdrive) cl-return-from for clarity, ELPA Syncer, 2023/10/11
- [nongnu] elpa/hyperdrive 6e5caefcd9 04/14: Change: (hyperdrive-menu) Docstring, ELPA Syncer, 2023/10/11
- [nongnu] elpa/hyperdrive ce393a4040 08/14: Tidy: Extra line, ELPA Syncer, 2023/10/11
- [nongnu] elpa/hyperdrive a0c99ecd2b 06/14: Change: (hyperdrive-menu) Remove "Files" subgroup, ELPA Syncer, 2023/10/11
- [nongnu] elpa/hyperdrive 5dc7679cdd 12/14: Tidy: Checkdoc, ELPA Syncer, 2023/10/11
- [nongnu] elpa/hyperdrive f7fe7eedbd 13/14: Fix: (hyperdrive-menu) Keep "Selected" height constant when moving, ELPA Syncer, 2023/10/11
- [nongnu] elpa/hyperdrive 85c1f9f0f1 09/14: Change: (hyperdrive-menu) Capitalization, ELPA Syncer, 2023/10/11