diff options
author | George D. Plymale II <georgedp@orbitalimpact.com> | 2017-04-20 14:05:11 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-04-20 23:03:10 -0400 |
commit | e8875bcbe067ea020dba95530ec4e9485942babd (patch) | |
tree | a52161f7387a57035a231d0d0624eac14550baf9 /test/lisp/emacs-lisp/eieio-tests | |
parent | a6b375ba4bfc9453abc428dcb73e65bfcf61b794 (diff) | |
download | emacs-e8875bcbe067ea020dba95530ec4e9485942babd.tar.gz emacs-e8875bcbe067ea020dba95530ec4e9485942babd.tar.bz2 emacs-e8875bcbe067ea020dba95530ec4e9485942babd.zip |
Treat non-erroring lisp call as successful eshell command (Bug#26161)
This lets a compound command like 'cd .. && echo ok' print 'ok',
similar to how most other shells behave.
* lisp/eshell/esh-cmd.el (eshell-exit-success-p): Only check if the
last exit code was zero, rather than first checking whether the last
command returned nil.
(eshell-exec-lisp): Set `eshell-last-command-status' to 1 on error.
Copyright-paperwork-exempt: yes
Diffstat (limited to 'test/lisp/emacs-lisp/eieio-tests')
0 files changed, 0 insertions, 0 deletions