[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive dfeed42902 08/21: Tidy: (h/dir--yank-media-imag
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive dfeed42902 08/21: Tidy: (h/dir--yank-media-image-handler) Pass explicit hyperdrive arg |
Date: |
Wed, 21 Aug 2024 01:10:08 -0400 (EDT) |
branch: elpa/hyperdrive
commit dfeed429020e9af3a7e61acc34b5ce4734d11a2a
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Tidy: (h/dir--yank-media-image-handler) Pass explicit hyperdrive arg
---
hyperdrive-dir.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hyperdrive-dir.el b/hyperdrive-dir.el
index 3871ffc65a..1448e39e41 100644
--- a/hyperdrive-dir.el
+++ b/hyperdrive-dir.el
@@ -381,8 +381,9 @@ see Info node `(elisp)Yanking Media'."
;; TODO: Extend this to other media types?
(cl-assert (and h/current-entry
(h//entry-directory-p h/current-entry)))
- (let ((entry (h/read-entry :predicate #'h/writablep :latest-version t
- :force-prompt-drive nil)))
+ (let ((entry (h/read-entry
+ :hyperdrive (h//context-hyperdrive :predicate #'h/writablep)
+ :latest-version t)))
(he/api 'put entry :body image :body-type 'binary
;; TODO: Pass MIME type in a header? hyper-gateway detects it for us.
:then (lambda (_res) (h/open entry))
- [nongnu] elpa/hyperdrive updated (5e32667239 -> 3b7167539a), ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 086ea0ec79 04/21: Change: (h//context-entry) Add force-prompt argument, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive dfeed42902 08/21: Tidy: (h/dir--yank-media-image-handler) Pass explicit hyperdrive arg,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 9602eb33d5 02/21: Tidy: (h//context-hyperdrive) Split into two functions, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 1759da77fd 10/21: Tidy: (h//context-entry) Use thunk-let, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive a827488194 12/21: Tidy: (hyperdrive-find-file) Pass explicit hyperdrive arg, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 4cd76ceafe 05/21: Fix: (h/forget-file) Docstring, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 98e0b93a1b 07/21: Tidy: (h/dir--yank-media-image-handler) Use h/read-entry defaults, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 828f47e6e4 03/21: Tidy: (h//context-entry) Use cond instead of pcase, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 3b4ab158bf 06/21: Comment: Remove TODO, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 36f2842bf3 01/21: Tidy: (h//context-hyperdrive) Rename from h/complete-hyperdrive, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 7985ec745a 11/21: Fix: (h/org-link-complete) Always prompt to pick hyperdrive, ELPA Syncer, 2024/08/21
- [nongnu] elpa/hyperdrive 18fa759807 13/21: Tidy: (hyperdrive-view-file) Pass explicit hyperdrive arg, ELPA Syncer, 2024/08/21