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

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

[elpa] master 47fe107 1/4: multishell - remove mistaken (and deadly) res


From: ken manheimer
Subject: [elpa] master 47fe107 1/4: multishell - remove mistaken (and deadly) residual kill-buffer!
Date: Thu, 21 Jan 2016 18:46:45 +0000

branch: master
commit 47fe1077bb26cffa742e0b75408e8430dbc99be3
Author: Ken Manheimer <address@hidden>
Commit: Ken Manheimer <address@hidden>

    multishell - remove mistaken (and deadly) residual kill-buffer!
---
 multishell.el |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/multishell.el b/multishell.el
index 62c9d3e..00a9b17 100644
--- a/multishell.el
+++ b/multishell.el
@@ -319,11 +319,7 @@ customize the savehist group to activate savehist."
          (curr-buff-proc (get-buffer-process from-buffer))
          (target-buffer (if from-buffer-is-shell
                             from-buffer
-                          (let ((got (get-buffer target-shell-buffer-name)))
-                            (if (buffer-live-p got)
-                                got
-                              (kill-buffer got)
-                              (get-buffer target-shell-buffer-name)))))
+                          (get-buffer target-shell-buffer-name)))
          inwin
          already-there)
 



reply via email to

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