Skip to content

Commit f6701cb

Browse files
committed
update typo.
1 parent 3da5e13 commit f6701cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.org

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- [[#install-polymode-in-emacs][install polymode in Emacs]]
1414
- [[#how-to-insert-code-block-quickly][how to insert code block quickly]]
1515
- [[#a-new-code-block-header-argument-load][a new code block header argument ~load~]]
16-
- [[#reference-named-blocks-as-global-variables][Reference named blocks as global variables]]
16+
- [[#reference-named-blocks-as-global-parameters][Reference named blocks as global parameters]]
1717
- [[#how-to-debug-org-file-in-lispworks-ide][How to debug org file in LispWorks IDE]]
1818
- [[#how-to-write-user-initialization-file-with-literate-programming-style][How to write user initialization file with literate programming style]]
1919
- [[#how-to-include-org-codes-with-asdf-package-inferred-system-extension][how to include org codes with ASDF package-inferred-system extension]]
@@ -72,15 +72,15 @@ The following Emacs Lisp scripts in .emacs will install it.
7272
Please have a look of the section [[https://github.com/jingtaozf/literate-elisp/blob/master/literate-elisp.org#how-to-insert-code-block-in-org-file][How to insert code block in org file]] in library [[https://github.com/jingtaozf/literate-elisp][literate-elisp]].
7373
** a new code block header argument ~load~
7474
Please have a look of the section [[./literate-lisp.org#new-defined-header-argument-load][new defined header argument load]] in [[./literate-lisp.org]].
75-
** Reference named blocks as global variables
75+
** Reference named blocks as global parameters
7676
If a [[https://orgmode.org/manual/Blocks.html][block]] has a named for it, that is, with a =#+NAME:= before it like this:
7777
#+begin_example
7878
,#+NAME: js-demo-code
7979
,#+BEGIN_SRC js
8080
document.getElementById("demo").innerHTML = "Hello JavaScript";
8181
,#+END_SRC
8282
#+end_example
83-
Then after loading, a global variable =js-demo-code= will contain the string in above block.
83+
Then after loading, a global parameter =js-demo-code= will contain the string in above block.
8484

8585
It is more friendly than write this string in lisp directly,
8686
because =org mode= can provide syntax for it and =poly mode= can even enable us edit this code block in =js-mode=.

0 commit comments

Comments
 (0)