Max Nikulin <maniku...@gmail.com> writes: >> This is Emacs bug. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56746 >> >> I just pushed a workaround that should hopefully fix the issue. > > Is there a chance that `eval-when-compile' around the original > definition will help? Sorry, I am still avoiding setting up of > development environment for emacs.
It could, but I took a different approach. See https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d3a9c424ba32382fff1da4f4ecb447dc99205261 -- Ihor Radchenko, Org mode contributor, 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