forked from mirrors/org-mode
org-latex-preview: Tweak to be rebased later
* lisp/org-latex-preview.el (org-latex-preview--cache-image):
This commit is contained in:
parent
76a24ffe8d
commit
7a4afe164d
|
@ -2684,10 +2684,12 @@ The caching location is set by CACHE, which defaults to
|
|||
`org-latex-preview-cache'. It should be the symbol \"persist\",
|
||||
\"temp\", or an existing directory path as a string."
|
||||
(if (not path)
|
||||
(display-warning
|
||||
'(org latex-preview put-cache)
|
||||
(format "Tried to cache %S without a path, skipping. This should not happen, please report it as a bug to the Org mailing list (M-x org-submit-bug-report)." key)
|
||||
:warning)
|
||||
(progn
|
||||
(display-warning
|
||||
'(org latex-preview put-cache)
|
||||
(format "Tried to cache %S without a path, skipping. This should not happen, please report it as a bug to the Org mailing list (M-x org-submit-bug-report)." key)
|
||||
:warning)
|
||||
nil)
|
||||
(pcase org-latex-preview-cache
|
||||
('persist
|
||||
(let ((label-path-info
|
||||
|
|
Loading…
Reference in New Issue