]> git.eshelyaron.com Git - emacs.git/commit
Grudgingly accept function values in the function position
authorMattias EngdegÄrd <mattiase@acm.org>
Mon, 5 Feb 2024 16:56:11 +0000 (17:56 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 7 Feb 2024 10:54:03 +0000 (11:54 +0100)
commit671e7f1ce60a784904f69873e9aa7330ac9c1b76
tree898d39bd93a82b42b864e38fafa8eb024ac2a41c
parent5383063fd5e266ee3de685b0fec94e3daeeacddd
Grudgingly accept function values in the function position

* lisp/emacs-lisp/cconv.el (cconv-convert):
Warn about (F ...) where F is a non-symbol function value (bytecode
object etc), but let it pass for compatibility's sake (bug#68931).
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp--fun-value-as-head):
New test.

(cherry picked from commit 5e69376292994ffe69b7f8f52ae1ad85c60c2d29)
lisp/emacs-lisp/cconv.el
test/lisp/emacs-lisp/bytecomp-tests.el