Marcelo de Moraes Serpa <celose
...@gmail.com> writes:
> Is there a way to run a shell-command without emacs creating any kind
> of output buffer when it's completed? I've tried using "&" but the
> buffer just changes to "Async Output Buffer". I'd just like emacs to
> silently run the command in the background, preferably without
> blocking. Any ideas?
(global-set-key [remap shell-command]
(lambda ()
(interactive)
(let ((display-buffer-overriding-action (cons (lambda (_1 _2) 'rms) nil)))
(call-interactively 'shell-command))))
Christopher