example,munch-sexp: Rename the parameter tab -> sexp.

This commit is contained in:
Sergiu Ivanov 2020-03-02 18:38:39 +01:00
parent e07c5c239c
commit a9fc272c13
1 changed files with 5 additions and 5 deletions

View File

@ -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