[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About the new directory org-persist in .emacs.d
From: |
Thierry Volpiatto |
Subject: |
Re: About the new directory org-persist in .emacs.d |
Date: |
Mon, 05 Dec 2022 05:59:16 +0000 |
> So, How I can disable the creation of that garbage from my .emacs.d
> directory?
(setq org-persist-disable-when-emacs-Q t)
(defun tv/advice--org-persist (old-fn &rest args)
(let (user-init-file)
(apply old-fn args)))
(advice-add 'org-persist-write :around #'tv/advice--org-persist)
(advice-add 'org-persist-read :around #'tv/advice--org-persist)
(advice-add 'org-persist-gc :around #'tv/advice--org-persist)))
--
Thierry
signature.asc
Description: PGP signature
Re: About the new directory org-persist in .emacs.d, Stefan Monnier, 2022/12/02
- Re: About the new directory org-persist in .emacs.d, Max Nikulin, 2022/12/02
- Re: About the new directory org-persist in .emacs.d, Angelo Graziosi, 2022/12/03
- Re: About the new directory org-persist in .emacs.d, Ihor Radchenko, 2022/12/04
- Re: About the new directory org-persist in .emacs.d, Angelo Graziosi, 2022/12/04
- Re: About the new directory org-persist in .emacs.d, Angelo Graziosi, 2022/12/04
- Re: About the new directory org-persist in .emacs.d, Ihor Radchenko, 2022/12/04
- Re: About the new directory org-persist in .emacs.d, Angelo Graziosi, 2022/12/04
Re: About the new directory org-persist in .emacs.d, Eli Zaretskii, 2022/12/03