Subject: bug#47991: 28.0.50; inconsistency between async-shell-command and shell-command

From: Eli Zaretskii <[email-masked]>
Date: Sat, 24 Apr 2021 13:57:21 +0300

> From: Zhiwei Chen <[email-masked]>
> Date: Sat, 24 Apr 2021 18:38:12 +0800
> 
> 
> shell-command pops a buffer in fundamental-mode while
> async-shell-command is in shell-mode.

That's a feature.

Why do you want the buffer in shell-mode when the command is run
synchronously?