forked from mirrors/org-mode
f38f83b4f1
* doc/org.texi (Header arguments in Org mode properties): Remove reference to deprecated syntax. * lisp/ob-core.el (org-babel-params-from-properties): Ignore deprecated syntax. * testing/examples/babel.org: * testing/examples/normal.org: * testing/examples/ob-header-arg-defaults.org: * testing/examples/property-inheritance.org: * testing/lisp/test-ob-header-arg-defaults.el (test-ob-header-arg-defaults/global/noweb): (test-ob-header-arg-defaults/global/call): (test-ob-header-arg-defaults/tree/overwrite/call): (test-ob-header-arg-defaults/tree/overwrite/noweb): (test-ob-header-arg-defaults/tree/accumulate/call): (test-ob-header-arg-defaults/tree/accumulate/noweb): (test-ob-header-arg-defaults/tree/complex/call): (test-ob-header-arg-defaults/tree/complex/noweb): * testing/lisp/test-ob.el (test-ob/elisp-in-header-arguments): * testing/lisp/test-property-inheritance.el (test-org-property-accumulation-overwrite-use): Update syntax. (test-org-property-accumulation-append-use): Use new syntax. (test-org-property-accumulation-top-val) (test-org-property-accumulation-overwrite-val) (test-org-property-accumulation-append-val): Remove tests.
29 lines
605 B
Org Mode
29 lines
605 B
Org Mode
#+TITLE: Example file
|
|
#+OPTIONS: num:nil ^:nil
|
|
#+STARTUP: hideblocks
|
|
|
|
This is an example file for use by the Org-mode tests.
|
|
|
|
* top
|
|
** code block
|
|
:PROPERTIES:
|
|
:header-args: :tangle yes
|
|
:CUSTOM_ID: code-block-section
|
|
:END:
|
|
Here are a couple of code blocks.
|
|
|
|
#+begin_src emacs-lisp :tangle no
|
|
;; 94839181-184f-4ff4-a72f-94214df6f5ba
|
|
(message "I am code")
|
|
#+end_src
|
|
* accumulating properties in drawers
|
|
:PROPERTIES:
|
|
:header-args+: :var bar=2
|
|
:header-args: :var foo=1
|
|
:ID: 75282ba2-f77a-4309-a970-e87c149fe125
|
|
:END:
|
|
|
|
#+begin_src emacs-lisp :results silent
|
|
(list bar foo)
|
|
#+end_src
|