forked from mirrors/org-mode
org-manual: Work around Emacs bug#59293
* doc/org-manual.org (Cache results of evaluation): Avoid (1) in the code. It is incorrectly recognized as a footnote reference by info.el Reported-by: Alain.Cochard@unistra.fr Link: https://orgmode.org/list/25457.22124.839301.412560@gargle.gargle.HOWL
This commit is contained in:
parent
ad62379984
commit
79c64d8c3a
|
@ -18167,10 +18167,12 @@ The =cache= header argument can have one of two values: =yes= or =no=.
|
|||
In this example, both functions are cached. But =caller= runs only if
|
||||
the result from =random= has changed since the last run.
|
||||
|
||||
# +1 here is to work around Emacs bug#59293.
|
||||
# Otherwise, (1) is recognized as footnote reference by info.el.
|
||||
#+begin_example
|
||||
,#+NAME: random
|
||||
,#+BEGIN_SRC R :cache yes
|
||||
runif(1)
|
||||
runif(+1)
|
||||
,#+END_SRC
|
||||
|
||||
,#+RESULTS[a2a72cd647ad44515fab62e144796432793d68e1]: random
|
||||
|
|
Loading…
Reference in New Issue