mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix(org): type error when refreshing images in src results
Ref: 451be94fb8
This commit is contained in:
@ -314,7 +314,7 @@ Also adds support for a `:sync' parameter to override `:async'."
|
|||||||
;; ...and not while tangling org buffers (which happens in a temp
|
;; ...and not while tangling org buffers (which happens in a temp
|
||||||
;; buffer where `buffer-file-name' is nil).
|
;; buffer where `buffer-file-name' is nil).
|
||||||
(string-match-p "^ \\*temp" (buffer-name)))
|
(string-match-p "^ \\*temp" (buffer-name)))
|
||||||
(let ((beg (org-babel-where-is-src-block-result))
|
(when-let ((beg (org-babel-where-is-src-block-result))
|
||||||
(end (org-babel-result-end)))
|
(end (org-babel-result-end)))
|
||||||
(org-display-inline-images nil nil (min beg end) (max beg end))))))
|
(org-display-inline-images nil nil (min beg end) (max beg end))))))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user