forked from mirrors/org-mode
ob-table: fix bug returning an integer from sbe
* lisp/ob-table.el (sbe): Ensure that ob-trim is only called on strings.
This commit is contained in:
parent
075016cdfa
commit
c70e601b1e
|
@ -97,7 +97,8 @@ example above."
|
|||
variables)))
|
||||
(unless (stringp source-block)
|
||||
(setq source-block (symbol-name source-block)))
|
||||
(org-babel-trim
|
||||
((lambda (result)
|
||||
(org-babel-trim (if (stringp result) result (format "%S" result))))
|
||||
(if (and source-block (> (length source-block) 0))
|
||||
(let ((params
|
||||
(eval `(org-babel-parse-header-arguments
|
||||
|
|
Loading…
Reference in New Issue