From 88ac0687a83bd9ed820ea17c227776f431d9e82e Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 20 Jan 2015 21:11:26 -0500 Subject: Remove shell-command advice I was using this to hide the '*Async Shell Command*' buffer from dired-do-async-shell-command, but am removing it now because there are many cases where I want to see this buffer. --- lisp/init-external.el | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lisp/init-external.el') 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 -- cgit v1.2.3