I want to print elisp code result as original but currently it will output with "|" separated. for example:

#+BEGIN_SRC emacs-lisp
(setq my-list '(apple orange peach))

The code block will output as below:

| apple | orange | peach |

How can I get output as original style like below:

 (apple orange peach)

2 Answers 2


Add :results output to the header line:

#+BEGIN_SRC emacs-lisp :results output

You can change the default result output type by adding the following code to your init.el:

(add-to-list 'org-babel-default-header-args:emacs-lisp
             '(:results . "output"))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.