io12 / org-fragtog

Automatically toggle Org mode LaTeX fragment previews as the cursor enters and exits them

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

void function error

rhoit opened this issue · comments

commented

I'm using emacs 26.3 with org-mode 9.1.9 version, I get void-function error, do i need to upgrade the version any thing close I could find was org-version-issue

Org-Fragtog mode enabled in current buffer
Error in post-command-hook (org-fragtog--post-cmd): (void-function org-clear-latex-preview)
Quit
Making completion list...

org-clear-latex-preview was added in a newer version of org-mode. The latest version is 9.3.2.

You can get the latest version from org ELPA. https://orgmode.org/elpa.html

I added this info to the README in 141320b.

Unfortunately, I can't figure out a way to make this work reliably with older Org versions.

commented

now I'm using emacs 28 with org 9.3.2, too much changes at last it works!

Thank you for trying org-fragtog!