mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 18:36:26 +00:00
babel: correct function name in reference resolution
* lisp/babel/ob-ref.el (org-babel-ref-resolve-reference): correcting mis-named function org-babel-read-file to org-babel-read-link
This commit is contained in:
parent
49e90002dc
commit
75a82240c6
|
@ -54,6 +54,8 @@
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(require 'ob)
|
(require 'ob)
|
||||||
|
|
||||||
|
(declare-function org-babel-get-src-block-info "ob" (header-vars-only))
|
||||||
|
|
||||||
(defun org-babel-ref-variables (params)
|
(defun org-babel-ref-variables (params)
|
||||||
"Takes a parameter alist, and return an alist of variable
|
"Takes a parameter alist, and return an alist of variable
|
||||||
names, and the emacs-lisp representation of the related value."
|
names, and the emacs-lisp representation of the related value."
|
||||||
|
@ -155,7 +157,7 @@ return nil."
|
||||||
(case type
|
(case type
|
||||||
('results-line (org-babel-read-result))
|
('results-line (org-babel-read-result))
|
||||||
('table (org-babel-read-table))
|
('table (org-babel-read-table))
|
||||||
('file (org-babel-read-file))
|
('file (org-babel-read-link))
|
||||||
('source-block (org-babel-execute-src-block nil nil params))
|
('source-block (org-babel-execute-src-block nil nil params))
|
||||||
('lob (org-babel-execute-src-block nil lob-info params))))
|
('lob (org-babel-execute-src-block nil lob-info params))))
|
||||||
(if (symbolp result)
|
(if (symbolp result)
|
||||||
|
|
Loading…
Reference in a new issue