[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/with-editor 73e1cdf 1/2: with-editor-export-editor: For vt
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/with-editor 73e1cdf 1/2: with-editor-export-editor: For vterm call clear |
Date: |
Tue, 28 Sep 2021 14:58:11 -0400 (EDT) |
branch: elpa/with-editor
commit 73e1cdfc93fc23f3888e40a173c252778d0bb92c
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
with-editor-export-editor: For vterm call clear
Re #101.
---
with-editor.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/with-editor.el b/with-editor.el
index cbe65d5..0df8b6d 100644
--- a/with-editor.el
+++ b/with-editor.el
@@ -722,7 +722,9 @@ This works in `shell-mode', `term-mode', `eshell-mode' and
(vterm-send-return))
(when-let ((v (getenv "EMACS_SERVER_FILE")))
(vterm-send-string (format "export EMACS_SERVER_FILE=%S" v))
- (vterm-send-return)))
+ (vterm-send-return))
+ (vterm-send-string "clear")
+ (vterm-send-return))
(error "Cannot use sleeping editor in this buffer")))
(t
(error "Cannot export environment variables in this buffer")))