Re: [PATCH] org-src.el Do not ask to revert unmodified buffers

2021-03-25 Thread pillule
You are right I clearly missed org-src-ask-before-returning-to-edit-buffer Don't know how . . . Sorry for the noise. Kyle Meyer writes: Thanks for the patch. pillule writes: Hi, it is asked to the user if we want to revert changes when re-entering in a org-source buffer. Even

[PATCH] org-src.el Do not ask to revert unmodified buffers

2021-03-08 Thread pillule
Hi, it is asked to the user if we want to revert changes when re-entering in a org-source buffer. Even if the buffer have no modifications. This patch ask to revert the buffer only if there are modifications to the source buffer. @@ -493,8 +493,9 @@ (old-edit-buffer

Re: [PATCH] org-src.el Do not ask to revert unmodified buffers

2021-03-08 Thread pillule
hm I hope this is better. Hi, it is asked to the user if we want to revert changes when re-entering in a org-source buffer. Even if the buffer have no modifications. This patch ask to revert the buffer only if there are modifications to the source buffer. @@ -493,8 +493,9 @@

Re: [PATCH] org-src.el Do not ask to revert unmodified buffers

2021-03-08 Thread pillule
hm I hope this is better.² Hi, it is asked to the user if we want to revert changes when re-entering in a org-source buffer. Even if the buffer have no modifications. This patch ask to revert the buffer only if there are modifications to the source buffer. @@ -493,8 +493,9 @@