From 79c64d8c3ac66e13a333a4cbc8ba15e242bc01fb Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 17 Nov 2022 13:40:51 +0800 Subject: [PATCH] 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 --- doc/org-manual.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 87abf7fdf..1369ab0bd 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -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