[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

org-persist - not wanted.

From: Colin Baxter
Subject: org-persist - not wanted.
Date: Wed, 20 Dec 2023 13:25:34 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (gnu/linux)

I find a file called "gc-lock.eld" has been deposited un-requested and
un-wanted in ~/.emacs.d/org-persist.

I had thought I had disabled org-persist with the following

--8<---------------cut here---------------start------------->8---
(setq org-persist-disable-when-emacs-Q t)
(defun me/advice--org-persist (old-fn &rest args)
 (let (user-init-file)
  (apply old-fn args)))
(advice-add 'org-persist-write :around #'me/advice--org-persist)
(advice-add 'org-persist-read :around #'me/advice--org-persist)
(advice-add 'org-persist-gc :around #'me/advice--org-persist)
--8<---------------cut here---------------end--------------->8---

This had worked fine until today. How do I now stop org-persist
depositing this - and maybe other -files. I do not want them.

I am using emacs-30.0.50 and Org mode version 9.7-pre

Best wishes, Colin Baxter.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]