org-babel-insert-result: Remove duplicate let-binding

* lisp/ob-core.el (org-babel-insert-result): Remove duplicate
computation of the INLINE value.
This commit is contained in:
Ihor Radchenko 2023-08-16 11:05:04 +03:00
parent 487f39efa6
commit 99c8425bc7
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 0 additions and 4 deletions

View File

@ -2459,10 +2459,6 @@ INFO may provide the values of these header arguments (in the
(save-excursion
(let* ((visible-beg (point-min-marker))
(visible-end (copy-marker (point-max) t))
(inline (let ((context (org-element-context)))
(and (org-element-type-p
context '(inline-babel-call inline-src-block))
context)))
(existing-result (org-babel-where-is-src-block-result t nil hash))
(results-switches (cdr (assq :results_switches (nth 2 info))))
;; When results exist outside of the current visible