tecosaur / org-latex-preview-todos

A tracker for the Org LaTeX Preview effort on https://git.tecosaur.net/tec/org-mode
5 stars 0 forks source link

Do we need to run org-check-external-command each time? #10

Closed karthink closed 9 months ago

karthink commented 9 months ago

Currently org-check-external-command runs every time we preview. While it doesn't cause an appreciable delay (at least on SSDs), can we avoid scanning every directory in PATH for each preview run? Perhaps we can run this just before the first preview run and cache the result for that session.

tecosaur commented 9 months ago

On my system org-check-external-command takes 0.00004s to run, so I'm not sure it's worth bothering with this TBH.

karthink commented 9 months ago

Okay, let's mark this one off as "not worth the effort"