* Silent (shell-command)
@ 2012-08-31 23:10 Marcelo de Moraes Serpa
2012-08-31 23:23 ` Christopher Schmidt
0 siblings, 1 reply; 2+ messages in thread
From: Marcelo de Moraes Serpa @ 2012-08-31 23:10 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 332 bytes --]
Hi list,
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?
Thanks in advance,
- Marcelo.
[-- Attachment #2: Type: text/html, Size: 443 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Silent (shell-command)
2012-08-31 23:10 Silent (shell-command) Marcelo de Moraes Serpa
@ 2012-08-31 23:23 ` Christopher Schmidt
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Schmidt @ 2012-08-31 23:23 UTC (permalink / raw)
To: help-gnu-emacs
Marcelo de Moraes Serpa <celoserpa@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-31 23:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-31 23:10 Silent (shell-command) Marcelo de Moraes Serpa
2012-08-31 23:23 ` Christopher Schmidt
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.