mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
Sometimes, `org-reveal` is called in the wrong buffer which throws an error. For example, `org-link-open-from-string` creates an temporary org-mode buffer that gets killed very quickly which means that `org-reveal` gets called in a different buffer. I have also had issues with org-reveal getting called in the org-roam buffer, which is why this commit also saves the buffer it was called in. Co-authored-by: Leo Okawa Ericson <git@relevant-information.com>