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

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.

AFAIK, async-shell-command is implemented via shell-command with an
additional '&' sign if it doesn't end with it.

To reproduce:
   emacs -Q
   M-x shell-command SPC ls RET
   M-x async-shell-command SPC ls RET

-- 
Zhiwei Chen