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

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

[elpa] externals/crdt 40bd5d4 16/18: document


From: ELPA Syncer
Subject: [elpa] externals/crdt 40bd5d4 16/18: document
Date: Thu, 9 Sep 2021 12:57:13 -0400 (EDT)

branch: externals/crdt
commit 40bd5d4bc022231db2047895f826d15647666cb5
Author: Qiantan Hong <qhong@mit.edu>
Commit: Qiantan Hong <qhong@mit.edu>

    document
---
 README.org | 7 +++++++
 crdt.el    | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 733173e..0a3d681 100644
--- a/README.org
+++ b/README.org
@@ -118,3 +118,10 @@ based on which user authored it.
 
 Turn on =crdt-org-sync-overlay-mode=. All peers that have this enabled have 
their
 folding status synchronized. Peers without enabling this minor mode are 
unaffected.
+
+** Comint integration
+
+Just go ahead and share you comint REPL buffer! Tested: ~shell~ and 
~cmuscheme~.
+By default, when sharing a comint buffer, ~crdt.el~ temporarily reset input 
history (as in =M-n= =M-p=)
+so others don't spy into your =.bash_history= and alike.
+You can customize this behavior using variable 
=crdt-comint-share-input-history=.
diff --git a/crdt.el b/crdt.el
index 52d8f73..36fa2fe 100644
--- a/crdt.el
+++ b/crdt.el
@@ -2541,7 +2541,7 @@ The result DIFF can be used in (CRDT--NAPPLY-DIFF OLD 
DIFF) to reproduce NEW."
 
 (defcustom crdt-comint-share-input-history 'censor
   "Share comint input history.
-If the value is censor,
+If the value is 'censor,
 show only input history generated during a CRDT session to its peers,
 Merge with history generated before the session after the buffer is no longer 
shared."
   :type '(choice boolean (const censor)))



reply via email to

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