[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 299193bf09: org-display-remote-inline-images: Add n
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 299193bf09: org-display-remote-inline-images: Add new allowed value t |
Date: |
Sun, 20 Aug 2023 09:58:04 -0400 (EDT) |
branch: externals/org
commit 299193bf091a63474fc8036bd31de51800a2555a
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
org-display-remote-inline-images: Add new allowed value t
* lisp/org.el (org-display-remote-inline-images): Allow value t as
alias to cache.
(org--create-inline-image): Handle t value.
---
lisp/org.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lisp/org.el b/lisp/org.el
index 9fb9e54b72..4079aaace9 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -16278,6 +16278,7 @@ Possible values of this option are:
skip Don't display remote images.
download Always download and display remote images.
+t
cache Display remote images, and open them in separate buffers
for caching. Silently update the image buffer when a file
change is detected."
@@ -16301,9 +16302,10 @@ according to the value of
`org-display-remote-inline-images'."
(set-buffer-multibyte nil)
(insert-file-contents-literally file)
(buffer-string)))
- (`cache (let ((revert-without-query '(".")))
- (with-current-buffer (find-file-noselect file)
- (buffer-string))))
+ ((or `cache `t)
+ (let ((revert-without-query '(".")))
+ (with-current-buffer (find-file-noselect file)
+ (buffer-string))))
(`skip nil)
(other
(message "Invalid value of `org-display-remote-inline-images': %S"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org 299193bf09: org-display-remote-inline-images: Add new allowed value t,
ELPA Syncer <=