add lisp packages
This commit is contained in:
25
lisp/org/testing/examples/property-inheritance.org
Normal file
25
lisp/org/testing/examples/property-inheritance.org
Normal file
@@ -0,0 +1,25 @@
|
||||
#+property: header-args :var foo=1
|
||||
#+property: header-args+ :var bar=2
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(+ foo bar)
|
||||
#+end_src
|
||||
|
||||
* overwriting a file-wide property
|
||||
:PROPERTIES:
|
||||
:header-args: :var foo=7
|
||||
:END:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
foo
|
||||
#+end_src
|
||||
|
||||
* appending to a file-wide property
|
||||
:PROPERTIES:
|
||||
:header-args+: :var baz=3
|
||||
:END:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(+ foo bar baz)
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user