mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-29 07:58:21 +00:00
isolating dangerous testing examples
* testing/examples/babel-dangerous.org: To house the dangerous. * testing/examples/babel.org (an): Removed a trouble maker.
This commit is contained in:
parent
cd05d152cf
commit
15a9eac67e
15
testing/examples/babel-dangerous.org
Normal file
15
testing/examples/babel-dangerous.org
Normal file
@ -0,0 +1,15 @@
|
||||
#+Title: dangerous code block examples which should be isolated
|
||||
#+OPTIONS: ^:nil
|
||||
|
||||
* no default value for vars
|
||||
:PROPERTIES:
|
||||
:ID: f2df5ba6-75fa-4e6b-8441-65ed84963627
|
||||
:END:
|
||||
|
||||
There is no default value assigned to =x= variable. This is not permitted
|
||||
anymore.
|
||||
|
||||
#+source: carre(x)
|
||||
#+begin_src python
|
||||
return x*x
|
||||
#+end_src
|
@ -308,15 +308,3 @@ src_sh{echo 2} blocks on the src_emacs-lisp{"same"} line
|
||||
#+results:
|
||||
[[file:./cv.cls]]
|
||||
|
||||
* no default value for vars
|
||||
:PROPERTIES:
|
||||
:ID: f2df5ba6-75fa-4e6b-8441-65ed84963627
|
||||
:END:
|
||||
|
||||
There is no default value assigned to =x= variable. This is not permitted
|
||||
anymore.
|
||||
|
||||
#+source: carre(x)
|
||||
#+begin_src python
|
||||
return x*x
|
||||
#+end_src
|
||||
|
Loading…
Reference in New Issue
Block a user