aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTino Calancha2016-07-21 22:33:25 +0900
committerTino Calancha2016-07-21 22:33:25 +0900
commitcf23d8e9d3d3b4165a9d94759895ee1c022ab0ef (patch)
tree84bfa41ed079bc5bfe657f661aae228398bf3ed6
parent1d119be4d35f2f02cd949a203e24ce5320559ff5 (diff)
downloademacs-cf23d8e9d3d3b4165a9d94759895ee1c022ab0ef.tar.gz
emacs-cf23d8e9d3d3b4165a9d94759895ee1c022ab0ef.zip
Ibuffer: Use default output buffer for shell commands
* lisp/ibuf-ext.el (shell-command-pipe): Insert the output in buffer '*Shell Command Output*', as command 'shell-command-file'.
-rw-r--r--lisp/ibuf-ext.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el
index 3e4e0dcb1b6..96b42b99f5c 100644
--- a/lisp/ibuf-ext.el
+++ b/lisp/ibuf-ext.el
@@ -350,8 +350,7 @@ the mode if ARG is omitted or nil."
350 :opstring "Shell command executed on" 350 :opstring "Shell command executed on"
351 :modifier-p nil) 351 :modifier-p nil)
352 (shell-command-on-region 352 (shell-command-on-region
353 (point-min) (point-max) command 353 (point-min) (point-max) command))
354 (get-buffer-create "* ibuffer-shell-output*")))
355 354
356;;;###autoload (autoload 'ibuffer-do-shell-command-pipe-replace "ibuf-ext") 355;;;###autoload (autoload 'ibuffer-do-shell-command-pipe-replace "ibuf-ext")
357(define-ibuffer-op shell-command-pipe-replace (command) 356(define-ibuffer-op shell-command-pipe-replace (command)