help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run terminal command with output in current buffer


From: Eli Zaretskii
Subject: Re: Run terminal command with output in current buffer
Date: Fri, 16 Jul 2021 14:32:40 +0300

> From: lisa-asket@perso.be
> Date: Fri, 16 Jul 2021 11:04:02 +0200 (CEST)
> 
> It guided we to this command.  I wonder how to call the command from my init 
> file, have my own
> function for it.
> 
> (shell-command COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER)
> 
> What shall I do with output-buffer ?

Did you read the doc string?  It answers your question quite
explicitly.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]