Is there a way for multi-line input in EShell? When I want to perform a quick function definition on an EShell command line, this does not work. I tried using explicit strings (\ n), as well as single quotes ('') and double quotes (""), but to no avail.
When I write a new line \nand press Enter (the dot is at position *), I get an error message and a new eshell prompt.
$ (def foo (x y ) \n *)
Symbol function definition is void: def
When I use C-q C-jand press Enter (the dot is at position *), I get the same error message and a new eshell prompt.
$
(def foo (x y) *)
Symbol function definition is void: def
source
share