reddit / emacs

How can I achieve something like it: (if eshell-last-command-fail (do something))

[deleted] · 2022-12-06 18:38
[deleted]
MitchellMarquez42 · 2022-12-06 23:01
Variable should be `eshell-last-command-status`
Equal-Jelly-3543 · 2022-12-07 00:01
It doesn't work. https://pastebin.com/Jqv06hNB