[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/sly edd45f0: Fix #419: Discard Lisp - not shell - comments
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/sly edd45f0: Fix #419: Discard Lisp - not shell - comments from REPL history |
Date: |
Mon, 22 Feb 2021 06:57:09 -0500 (EST) |
branch: elpa/sly
commit edd45f0d4f952b684f1b29c1805f3aee560ce965
Author: Pierre Neidhardt <mail@ambrevar.xyz>
Commit: GitHub <noreply@github.com>
Fix #419: Discard Lisp - not shell - comments from REPL history
Discarding shell comments ended up discarding legitimate Lisp expressions
starting with #.
* contrib/sly-mrepl.el (sly-mrepl-mode): Locally set
comint-input-history-ignore
to the Lisp comment syntax.
---
contrib/sly-mrepl.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/contrib/sly-mrepl.el b/contrib/sly-mrepl.el
index 3abb4fb..f880fa2 100644
--- a/contrib/sly-mrepl.el
+++ b/contrib/sly-mrepl.el
@@ -150,6 +150,7 @@ for output printed to the REPL (not for evaluation
results)")
(comint-input-filter-functions nil)
(comint-history-isearch dwim)
(comint-input-ignoredups t)
+ (comint-input-history-ignore "^;")
(comint-prompt-read-only t)
(comint-process-echoes nil)
(comint-completion-addsuffix "")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/sly edd45f0: Fix #419: Discard Lisp - not shell - comments from REPL history,
ELPA Syncer <=