]> git.eshelyaron.com Git - emacs.git/commit
Handle single-argument `apply' consistently (bug#40968)
authorPip Cet <pipcet@gmail.com>
Sun, 27 Sep 2020 14:59:00 +0000 (16:59 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 27 Sep 2020 14:59:00 +0000 (16:59 +0200)
commit433b6fc53dc9511077ed3a8c1ad130196dedbb55
treeef369ccea800d0ab2e00cb189bacefa2e9426efa
parent8d241e8840fdb02dcfce52425626dd8f2125e51a
Handle single-argument `apply' consistently (bug#40968)

* src/eval.c (Fapply): Handle (apply nil) without crashing.
Document single-argument form.
* lisp/emacs-lisp/byte-opt.el (byte-optimize-apply): Don't attempt
to optimize single-argument apply.
* doc/lispref/functions.texi (Calling Functions): Document
single-argument apply.  Provide example (bug#40968).
doc/lispref/functions.texi
lisp/emacs-lisp/byte-opt.el
src/eval.c