[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 79a3f3534b 05/16: process-full-sized-image-respon
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 79a3f3534b 05/16: process-full-sized-image-response - inhibit read only |
Date: |
Wed, 27 Mar 2024 10:00:30 -0400 (EDT) |
branch: elpa/mastodon
commit 79a3f3534bb07d28c2f96eecd2d8e0caf9c15200
Author: marty hiatt <martianhiatus@riseup.net>
Commit: marty hiatt <martianhiatus@riseup.net>
process-full-sized-image-response - inhibit read only
---
lisp/mastodon-media.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el
index 0014a44887..62a41dec64 100644
--- a/lisp/mastodon-media.el
+++ b/lisp/mastodon-media.el
@@ -195,12 +195,13 @@ STATUS-PLIST is a plist of status events as per
`url-retrieve'."
(setf (image-property image :max-width)
(window-pixel-width))
(with-current-buffer (get-buffer-create "*masto-image*")
- (erase-buffer)
- (insert-image image str)
- (special-mode) ; prevent image-mode loop bug
- (image-mode)
- (goto-char (point-min))
- (switch-to-buffer-other-window (current-buffer))))))
+ (let ((inhibit-read-only t))
+ (erase-buffer)
+ (insert-image image str)
+ (special-mode) ; prevent image-mode loop bug
+ (image-mode)
+ (goto-char (point-min))
+ (switch-to-buffer-other-window (current-buffer)))))))
(defun mastodon-media--load-image-from-url (url media-type start region-length)
"Take a URL and MEDIA-TYPE and load the image asynchronously.
- [nongnu] elpa/mastodon updated (90aeac6080 -> d54aa9aa3e), ELPA Syncer, 2024/03/27
- [nongnu] elpa/mastodon 1454c2253d 15/16: docstrings - reduce explicit refs to Mastodon itself., ELPA Syncer, 2024/03/27
- [nongnu] elpa/mastodon 79a3f3534b 05/16: process-full-sized-image-response - inhibit read only,
ELPA Syncer <=
- [nongnu] elpa/mastodon a55db10550 10/16: reply when replying: prompt to either nuke existing or abort, ELPA Syncer, 2024/03/27
- [nongnu] elpa/mastodon 4e19f18a1a 03/16: apply not cl-reduce to find longest item for padding, ELPA Syncer, 2024/03/27
- [nongnu] elpa/mastodon d54aa9aa3e 16/16: Merge branch 'develop', ELPA Syncer, 2024/03/27
- [nongnu] elpa/mastodon 71b92fdd9c 07/16: media: call image-transform-fit-both in masto-image buf, ELPA Syncer, 2024/03/27
- [nongnu] elpa/mastodon 3711c59984 09/16: toot-compose: only call mode funs if not buffer-exists, ELPA Syncer, 2024/03/27
- [nongnu] elpa/mastodon 3c1d3150e1 12/16: PUT attachment alt-text in media upload callback. (pleroma), ELPA Syncer, 2024/03/27
- [nongnu] elpa/mastodon 9249cda2ff 11/16: let bind a setq'd var to keep compiler happy, ELPA Syncer, 2024/03/27
- [nongnu] elpa/mastodon 21d8771fea 01/16: cmd index, ELPA Syncer, 2024/03/27
- [nongnu] elpa/mastodon 7384db8e3a 06/16: process-full-sized-image-response - credit rahguzar, ELPA Syncer, 2024/03/27
- [nongnu] elpa/mastodon 6935c92902 02/16: scale full size image to window-width. FIX #542., ELPA Syncer, 2024/03/27