>>> "AH" == Al Haji-Ali <[email protected]> writes:
> Hello Uwe,
> On 31/08/2025, Uwe Brauer wrote:
>>> this. Her is what I tried (I don't like lambdas)
>>> Which parts of the preview do you want to turn off?
>>> The automatic preview update, or the showing of the frame?
>> The automatic preview update!
> Maybe try this function
> (defun my/point-preview-toggle-auto (arg)
> (interactive (list 'toggle))
> (setq arg
> (if (eq arg 'toggle)
> (eq preview-point-auto-p 'ignore)
> arg))
> (if arg
> (progn
> (setq preview-point-auto-p #'texmathp)
> (add-hook 'after-change-functions #'preview-point-buf-change nil t)
> )
> (setq preview-point-auto-p #'ignore)
> (remove-hook 'after-change-functions #'preview-point-buf-change t)))
Thanks, that seems to work and will keep testing it.
>>
>> Well I see also a file section1-intro.ini
>> if the file I open is section1-intro.tex.
>>
>> Not sure why
> Me neither. What does this file have?
> I don't think the preview code outputs ini files.
Maybe it has to do with the message
Insert file contents automatically ? (y or n) n
Regards
Uwe
smime.p7s
Description: S/MIME cryptographic signature
