From a9fc272c13b89a7d2352ae1f069dbbd25a2c509d Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Mon, 2 Mar 2020 18:38:39 +0100 Subject: [PATCH] example,munch-sexp: Rename the parameter tab -> sexp. --- example/example.org | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/example/example.org b/example/example.org index af37a90..14895ad 100644 --- a/example/example.org +++ b/example/example.org @@ -205,8 +205,8 @@ tab table to a string: #+NAME: munch-sexp - #+BEGIN_SRC elisp :results output drawer :var tab=test-table -(prin1 tab) + #+BEGIN_SRC elisp :results output drawer :var sexp=test-table +(prin1 sexp) #+END_SRC #+RESULTS: munch-sexp @@ -216,7 +216,7 @@ tab We can now correctly receive this table in a Racket source code block by threading it through =munch-sexp=: - #+BEGIN_SRC racket :results output drawer :var tab=munch-sexp(tab=test-table) + #+BEGIN_SRC racket :results output drawer :var tab=munch-sexp(sexp=test-table) (println tab) #+END_SRC @@ -227,7 +227,7 @@ tab [[../utils.rkt][=dds/utils=]] has several functions for parsing such strings, and notably =read-org-variable-mapping=, with the shortcut =unorg=: - #+BEGIN_SRC racket :results output drawer :var tab=munch-sexp(tab=test-table) + #+BEGIN_SRC racket :results output drawer :var tab=munch-sexp(sexp=test-table) (unorg tab) #+END_SRC @@ -244,7 +244,7 @@ tab | b | (and a c) | | c | (and a (not b)) | - #+BEGIN_SRC racket :results output drawer :var tab=munch-sexp(tab=another-test-table) + #+BEGIN_SRC racket :results output drawer :var tab=munch-sexp(sexp=another-test-table) (unorg tab) #+END_SRC