|
| From: | Ruijie Yu |
| Subject: | Re: How to disable org-persist in a given file? |
| Date: | Sun, 23 Apr 2023 21:35:10 +0800 |
| User-agent: | mu4e 1.9.22; emacs 30.0.50 |
Gustavo Barros <gusbrs.2016@gmail.com> writes:
>> You can use `org-persist-before-write-hook' to disable writing
>> selectively.
>
> Thanks! That's the one. Though it would be nice if a variable existed
> for the purpose. `(add-hook 'org-persist-before-write-hook (lambda
> (&rest _args) t) nil t)' is not our average file local variable. :)
(lambda (&rest _args) t)
Side track: remember that you have `always' and `ignore' in your
collection of functions. :)
--
Best,
RY
[Please note that this mail might go to spam due to some
misconfiguration in my mail server -- still investigating.]
| [Prev in Thread] | Current Thread | [Next in Thread] |