emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] org-src: Reset buffer-modified-p after fontifying


From: Timothy
Subject: Re: [PATCH] org-src: Reset buffer-modified-p after fontifying
Date: Sun, 21 Nov 2021 14:58:13 +0800
User-agent: mu4e 1.6.9; emacs 28.0.50

Hi Clément,

I've just had a look at your patch, and it seems very reasonable to me.
Hence, I've just pushed it as ebd06c1 :)

> Hi all,
>
> * lisp/org-src.el (org-src-font-lock-fontify-block): Reset the
> modification flag of the temporary fontification buffer after
> fontifying.
>
> Without this some modes cause Emacs to prompt about unsaved buffers
> when exiting: `Save buffer *org-src-fontification:...-mode*?'
>
> (I'm seeing this with Proof General's coq-mode, specifically.)
>
> Clément.
>
> [2. text/x-patch; 
> 0001-org-src-Reset-buffer-modified-p-after-fontifying.patch]...

--
Timothy



reply via email to

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