diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-01-20 21:11:26 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-01-20 21:11:41 -0500 |
commit | 88ac0687a83bd9ed820ea17c227776f431d9e82e (patch) | |
tree | 689a17488fc0d16dc34710094a7e0c3951b63edd | |
parent | fc41568c60cea6730aca12c7c4a31a841f5cb40f (diff) | |
download | emacs.d-88ac0687a83bd9ed820ea17c227776f431d9e82e.tar.gz |
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.
-rw-r--r-- | lisp/init-external.el | 8 |
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 |