Hectarea1996 / org-lisp-results

Better results output for org mode lisp code blocks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

org-lisp-results

The purpose of this file is to print better results of Common Lisp code from org-mode source code blocks. This file only redefines the function org-babel-execute-src-block.

Installation

You can place the file wherever you want and require it.

Also, you can just copy the function definition and paste it into your .emacs or .emacs.d/init.el file.

In both cases make sure that this definition runs after org-mode is required.

Example

  • Before:
#+begin_src lisp
(values 3 (princ "CASA") 5)
#+end_src

#+RESULTS:
: 3
  • After:
#+begin_src lisp
(values 3 (princ "CASA") 5)
#+end_src

#+RESULTS:
: CASA
: 3
: "CASA"
: 5

About

Better results output for org mode lisp code blocks.

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 100.0%