[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] org-babel-execute-buffer "No surrounding element" error
From: |
Wei Tang |
Subject: |
[O] [PATCH] org-babel-execute-buffer "No surrounding element" error |
Date: |
Thu, 31 Aug 2017 03:02:44 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
I was trying to use org-babel-execute-buffer to update all org-babel
code block results for a org document. It works fine when the code block
is visible, but when it's hidden, I got the "user-error: No surrounding
element" error and nothing was executed.
Adding `(outline-show-all)` fixed this issue for me. Does this look like
a good solution?
-- Wei
0001-ob-core.el-Fix-No-surrounding-element-error.patch
Description: Text Data
signature.asc
Description: OpenPGP digital signature
- [O] [PATCH] org-babel-execute-buffer "No surrounding element" error,
Wei Tang <=