]> git.eshelyaron.com Git - emacs.git/commitdiff
Ibuffer: Use default output buffer for shell commands
authorTino Calancha <tino.calancha@gmail.com>
Thu, 21 Jul 2016 13:33:25 +0000 (22:33 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Thu, 21 Jul 2016 13:33:25 +0000 (22:33 +0900)
* lisp/ibuf-ext.el (shell-command-pipe): Insert the output in buffer
'*Shell Command Output*', as command 'shell-command-file'.

lisp/ibuf-ext.el

index 3e4e0dcb1b6745b63291a6e40e48cd5ecbff2b93..96b42b99f5cae6de6a35a990a9955b8787211dc1 100644 (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)