Describe the bug
Using Emacs 29.4 in Doom Emacs and org-mode 9.7.11 on NixOS via WSL on Windows 11, org-fragtog does not disable Latex previews. It throws the error in the title after org-fragtog-mode is enabled and I move my cursor onto a Latex fragment.
To Reproduce
Steps to reproduce the behavior:
- Open org-mode file with latex fragments
- Enable org-fragtog-mode
- Move cursor onto latex fragment
Expected behavior
Latex preview to be disabled upon moving cursor onto it.
Version and environment
- OS: NixOS on WSL2 Windows 11
- Emacs version 29.4 Doom Emacs
- Org version 9.7.11
Additional context
I am also running Doom Emacs on nix-doom-emacs-unstraightened, which may cause issues. Apologies for my inexperience.