io12 / org-fragtog

Automatically toggle Org mode LaTeX fragment previews as the cursor enters and exits them
MIT License
404 stars 14 forks source link

void function error #1

Closed rhoit closed 4 years ago

rhoit commented 4 years ago

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...
io12 commented 4 years ago

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

io12 commented 4 years ago

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

io12 commented 4 years ago

I added this info to the README in https://github.com/io12/org-fragtog/commit/141320b9a64e5cb94374e033ddc534f2419cf4cc.

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

rhoit commented 4 years ago

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

io12 commented 4 years ago

Thank you for trying org-fragtog!