diff options
| author | Tino Calancha | 2017-02-09 18:14:10 +0900 |
|---|---|---|
| committer | Tino Calancha | 2017-02-09 18:14:10 +0900 |
| commit | d9fd1d32632816aa7833bcfcc116a0a01a53a4b7 (patch) | |
| tree | 4a8cab4c595931f6cdc485a0786bef78e22bc7f2 /src/bytecode.c | |
| parent | 1e23bf5c513fafb9d14a8e07232101515386a912 (diff) | |
| download | emacs-d9fd1d32632816aa7833bcfcc116a0a01a53a4b7.tar.gz emacs-d9fd1d32632816aa7833bcfcc116a0a01a53a4b7.zip | |
Ibuffer: Erase output buffer before shell commands
* lisp/ibuf-macs.el (define-ibuffer-op): Add keyword arguments
BEFORE and AFTER; they are forms to run before/after the operation.
* lisp/ibuf-ext.el (ibuffer--maybe-erase-shell-cmd-output):
New defun; if shell-command-dont-erase-buffer is nil, then
erase shell command output buffer.
(ibuffer-do-shell-command-pipe, ibuffer-do-shell-command-file): Use it.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions