[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41864: 28.0.50; funcall: attempting to call a macro does not always
From: |
Lars Ingebrigtsen |
Subject: |
bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain |
Date: |
Sun, 18 Oct 2020 09:57:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Andreas Schwab <schwab@linux-m68k.org> writes:
> ELISP> (macroexpand-all (eval-sexp-add-defvars (elisp--eval-defun-1
> (macroexpand '(funcall (function mac/z))))))
> (progn "z")
And
(macroexpand-all (eval-sexp-add-defvars (elisp--eval-defun-1 (macroexpand
'(funcall 'mac/z)))))
=> (funcall 'mac/z)
Which is what the bug reporter is wondering about. The doc string says
--
Like ‘quote’, but preferred for objects which are functions.
--
And it's not quite like `quote', as the examples show us, and the
documentation should mention this.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain, Lars Ingebrigtsen, 2020/10/17
- bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain, Andreas Schwab, 2020/10/17
- bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain, Stefan Kangas, 2020/10/17
- bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain, Andreas Schwab, 2020/10/17
- bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain,
Lars Ingebrigtsen <=
- bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain, Andreas Schwab, 2020/10/18
- bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain, Lars Ingebrigtsen, 2020/10/18
- bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain, Andreas Schwab, 2020/10/18
- bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain, Lars Ingebrigtsen, 2020/10/18
- bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain, Andreas Schwab, 2020/10/18
- bug#41864: 28.0.50; funcall: attempting to call a macro does not always complain, Lars Ingebrigtsen, 2020/10/19