Re: Buffer mode in start-process-shell-command vs async-shell-command

Michael Albinus <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
Khalid Rafi <[email protected]> writes:

Hi Khalid,

> async-shell-command uses shell-mode in the output buffer. But,
> start-process-shell-command uses fundamental mode for the process
> buffer. Is that a bug, or intentional?

The docstring of async-shell-command tells

--8<---------------cut here---------------start------------->8---
That buffer is in major mode specified by the variable
‘async-shell-command-mode’.
--8<---------------cut here---------------end--------------->8---

This is different to  start-process-shell-command. So yes, it is
intentional I believe.

Best regards, Michael.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.