emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 79c64d8c3a 1/2: org-manual: Work around Emacs bug#5


From: ELPA Syncer
Subject: [elpa] externals/org 79c64d8c3a 1/2: org-manual: Work around Emacs bug#59293
Date: Thu, 17 Nov 2022 00:58:02 -0500 (EST)

branch: externals/org
commit 79c64d8c3ac66e13a333a4cbc8ba15e242bc01fb
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    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 87abf7fdf7..1369ab0bd6 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]