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'.
This commit is contained in:
Tino Calancha 2016-07-21 22:33:25 +09:00
parent 1d119be4d3
commit cf23d8e9d3

View file

@ -350,8 +350,7 @@ the mode if ARG is omitted or nil."
:opstring "Shell command executed on"
:modifier-p nil)
(shell-command-on-region
(point-min) (point-max) command
(get-buffer-create "* ibuffer-shell-output*")))
(point-min) (point-max) command))
;;;###autoload (autoload 'ibuffer-do-shell-command-pipe-replace "ibuf-ext")
(define-ibuffer-op shell-command-pipe-replace (command)