To reproduce this,

#+begin_src scheme
  (cons 1 2)
#+end_src

C-c C-c on this,

You get 'Wrong type argument: listp, 2'.

The back trace:

Debugger entered--Lisp error: (wrong-type-argument listp 2)
  mapcar(#f(compiled-function (el) #<bytecode 0x726144d70849d7d>) (1 . 2))
  org-babel-scheme--table-or-string("(1 . 2)")
  org-babel-execute:scheme("(cons 1 2)" ((:colname-names) (:rowname-names)
(:result-params "replace") (:result-type . value) (:results . "replace")
(:exports . "code") (:session . "none") (:cache . "no") (:noweb . "no")
(:hlines . "no") (:tangle . "no")))
  org-babel-execute-src-block(nil ("scheme" "(cons 1 2)" ((:colname-names)
(:rowname-names) (:result-params "replace") (:result-type . value)
(:results . "replace") (:exports . "code") (:tangle . "no") (:hlines .
"no") (:noweb . "no") (:cache . "no") (:session . "none")) "" nil 1
"(ref:%s)"))
  org-ctrl-c-ctrl-c(nil)
  funcall-interactively(org-ctrl-c-ctrl-c nil)
  command-execute(org-ctrl-c-ctrl-c)


Emacs  : GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.49, cairo version 1.18.4)
Package: Org mode version 9.7.37 (9.7.37-80e962 @
/home/tusharhero/.emacs.d/elpa/org-9.7.37/)



Reply via email to