emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/edit-indirect 1d0cabfbe7 02/28: Clarify how this package d


From: ELPA Syncer
Subject: [nongnu] elpa/edit-indirect 1d0cabfbe7 02/28: Clarify how this package differs from clone-indirect-buffer.
Date: Thu, 7 Jul 2022 11:59:12 -0400 (EDT)

branch: elpa/edit-indirect
commit 1d0cabfbe73b7cafd4a68b0728a6868b0b5affa0
Author: Fanael Linithien <fanael4@gmail.com>
Commit: Fanael Linithien <fanael4@gmail.com>

    Clarify how this package differs from clone-indirect-buffer.
---
 edit-indirect.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/edit-indirect.el b/edit-indirect.el
index 0b15c6d1ff..ddd2f32550 100644
--- a/edit-indirect.el
+++ b/edit-indirect.el
@@ -105,6 +105,13 @@ When done, exit with `edit-indirect-commit', which will 
remove the
 original region and replace it with the edited version; or with
 `edit-indirect-abort', which will drop the modifications.
 
+This differs from `clone-indirect-buffer' with narrowing in that
+the text properties are not shared, so the parent buffer major mode
+and the edit-indirect buffer major mode will not be able to tread
+on each other's toes by setting up potentially conflicting text
+properties, which happens surprisingly often when the font-lock
+mode is used.
+
 Edit-indirect buffers use the `edit-indirect-mode-map' keymap.
 
 If there's already an edit-indirect buffer for BEG..END, use that.



reply via email to

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