mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 17:10:51 -08:00
Fix Eshell's evaluation of empty 'progn' forms
Do not merge to master. * lisp/eshell/esh-cmd.el (eshell-do-eval): Make sure we evaluate to 'nil' for 'progn' forms with no body (bug#73722).
This commit is contained in:
parent
78e6328faf
commit
d3c9410226
1 changed files with 1 additions and 1 deletions
|
|
@ -1266,7 +1266,7 @@ have been replaced by constants."
|
|||
(setq args (cdr args)))))
|
||||
(cond
|
||||
((eq (car form) 'progn)
|
||||
(car (last form)))
|
||||
(car (last (cdr form))))
|
||||
((eq (car form) 'prog1)
|
||||
(cadr form))
|
||||
(t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue