[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] org-src: Reset buffer-modified-p after fontifying
From: |
Clément Pit-Claudel |
Subject: |
[PATCH] org-src: Reset buffer-modified-p after fontifying |
Date: |
Thu, 28 Oct 2021 11:24:37 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
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.
0001-org-src-Reset-buffer-modified-p-after-fontifying.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] org-src: Reset buffer-modified-p after fontifying,
Clément Pit-Claudel <=