We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b724be7 commit 7056133Copy full SHA for 7056133
multi-shell.el
@@ -69,6 +69,9 @@
69
(`eshell (eshell))
70
(t (user-error "[ERROR] Invalid shell type: %s" multi-shell-prefer-shell-type)))))
71
72
+;; XXX: There is a bug when starting `shell' the first time.
73
+(multi-shell--run-shell-procss-by-type)
74
+
75
(defun multi-shell--form-name (base)
76
"Form the shell name by BASE."
77
(format "*%s*" base))
@@ -203,7 +206,7 @@
203
206
(rename-buffer name)
204
207
(setq-local truncate-lines nil)
205
208
(push (cons id (current-buffer)) multi-shell--live-shells))
- (funcall multi-shell-display-function name)))
209
+ (ignore-errors (funcall multi-shell-display-function name))))
210
211
(defun multi-shell--kill-buffer (fnc &rest args)
212
"Advice execute around `kill-buffer' function with FNC and ARGS."
0 commit comments