Skip to content

Error in post-command-hook (org-fragtog--post-cmd): (wrong-type-argument number-or-marker-p nil) #52

@xtremejames1

Description

@xtremejames1

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:

  1. Open org-mode file with latex fragments
  2. Enable org-fragtog-mode
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions