Subject: Re: bug#16012: 24.3.50; Multi-line shell commands appear as one-liners in the history

From: Stefan Monnier <[email-masked]>
Date: Sun, 01 Dec 2013 16:13:39 -0500

>> ls \
>> *.html
> Recalling the previous command will just show "*.html", not "ls \\n*.html".

Right, currently shell-mode has no idea that these were two lines of the
same command.  The semantics of a terminating backslash completely
eludes it.

> Is there a solution to this?

A patch for shell.el would probably do it, assuming it's the right patch ;-)

        Stefan