[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54190: 29.0.50; [PATCH] Incorrect/missing documentation for some Esh
From: |
Stefan Monnier |
Subject: |
bug#54190: 29.0.50; [PATCH] Incorrect/missing documentation for some Eshell "$" syntaxes |
Date: |
Fri, 04 Mar 2022 08:35:50 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> @@ -1077,7 +1077,7 @@ eshell-do-eval
> (cond
> ((not (listp form))
> (list 'quote (eval form)))
> - ((memq (car form) '(quote function))
> + ((memq (car form) '(quote function lambda))
> form)
> (t
> ;; skip past the call to `eshell-do-eval'
This looks like a workaround rather than a fix.
eshell-do-eval supposedly handles code that uses macros. `lambda` is
just one such macro (and a very simple one at that), so if the `lambda`
macro is not properly handled, then most likely there are other macros
which are similarly mishandled.
Stefan