term/term: don't erase term buffer on toggle #1492

This commit is contained in:
Henrik Lissner
2019-06-17 16:06:11 +02:00
parent d27c148e14
commit 2835314022

View File

@ -37,8 +37,6 @@ If prefix ARG, recreate term buffer in the current project's root."
(evil-change-to-initial-state))
(goto-char (point-max)))
(with-current-buffer buffer
(with-silent-modifications
(erase-buffer))
(doom|mark-buffer-as-real)
(multi-term-internal))
(unless (window-live-p window)