Morgan Smith <[email protected]> writes:

> Subject: [PATCH 2/8] Move `org-element-at-point-no-context' definition before
>  first use
>
> When compiling the test files, both `test-org/map-entries' and
> `test-org/entry-properties' would fail with the following error:
>
> invalid-function (org-element-with-disabled-cache)
>
> * lisp/org-element.el (org-element-at-point-no-context): Move before
> first use.

I am not sure if it is the best idea. By moving that function you will
break sectioning structure of org-element.el. Maybe we should instead
make it a simple defun.

> --- a/lisp/ob-C.el
> +++ b/lisp/ob-C.el
> @@ -38,7 +38,6 @@
>  
>  (require 'cc-mode)
>  (require 'ob)
> -(require 'org-macs)

This is actually intentional. I wanted to
keep
(require 'org-macs)
(org-assert-version)
separate, as it is a semi-temporary workaround that we should eventually
get rid of.
 

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to