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.
This commit is contained in:
parent
e08d878314
commit
299193bf09
|
@ -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,7 +16302,8 @@ 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 '(".")))
|
||||
((or `cache `t)
|
||||
(let ((revert-without-query '(".")))
|
||||
(with-current-buffer (find-file-noselect file)
|
||||
(buffer-string))))
|
||||
(`skip nil)
|
||||
|
|
Loading…
Reference in New Issue