|
From: | Charles Millar |
Subject: | Re: [O] emacs-lisp babel won't print |
Date: | Fri, 25 Sep 2015 12:48:02 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
maybe add :results output to the last block On 09/25/2015 12:04 PM, Lawrence Bottorff wrote:
#+BEGIN_SRC emacs-lisp (setq animals '(gazelle giraffe lion tiger)) #+END_SRC #+RESULTS: | gazelle | giraffe | lion | tiger | and then this #+begin_src emacs-lisp (defun print-elements-of-list (list) "Print each element of LIST on a line of its own." (while list (print (car list)) (setq list (cdr list)))) #+end_src #+RESULTS: : print-elements-of-list and finally #+BEGIN_SRC emacs-lisp (print-elements-of-list animals) #+END_SRC
[Prev in Thread] | Current Thread | [Next in Thread] |