licht1stein / obsidian.el

Obsidian Notes for Emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Caching for obsidian-update

kdmsnr opened this issue · comments

It might be beneficial to cache the results of obsidian-update. I might tackle this when I find some time.

Excellent idea, thanks!

commented

How about adding a new defvar which stores the last modified time of the obsidian-directory? If it is the same, exit out of the (obsidian-update) function early.

I think this should be enough, or are there edge-cases where this would fail?