summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-external.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/lisp/init-external.el b/lisp/init-external.el
index ebad43b..d486f99 100644
--- a/lisp/init-external.el
+++ b/lisp/init-external.el
@@ -16,14 +16,6 @@
(interactive)
(start-process "ext-term" nil km/terminal))
-(defadvice shell-command (around shell-command-restore-windows activate)
- "Restore window configuraiton after shell-command.
-The hides the *Async Shell Command* buffer that is opened in the
-other window when an asynchronous command is run."
- (window-configuration-to-register :before-shell-command)
- ad-do-it
- (jump-to-register :before-shell-command))
-
(defun km/zsh-ansi-term (&optional new-buffer)
"Open an ansi-term buffer running ZSH.
The buffer is named according to `default-directory'. If a buffer