]> git.eshelyaron.com Git - emacs.git/commit
Try and avoid hardcoding lists of function types
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 12 Mar 2024 20:09:23 +0000 (16:09 -0400)
committerEshel Yaron <me@eshelyaron.com>
Fri, 15 Mar 2024 08:58:50 +0000 (09:58 +0100)
commita674ec92032bb6678169d5462ca645e8e69f6fcf
tree32585b56f6d794e536c907259c0d9db0cb47b3ce
parent854816e4057d0f65dfa70b57dcb8048cd70b2c59
Try and avoid hardcoding lists of function types

* lisp/bind-key.el (bind-key--get-binding-description):
Show docstrings for compiled functions also.  Don't hardcode knowledge
about various particular kinds of functions.

* lisp/emacs-lisp/bytecomp.el (display-call-tree): Remove special
support for functions with a `byte-code` body since we never generate
that nowadays.  Don't hardcode knowledge
about various particular kinds of functions.

(cherry picked from commit 4afafa03704aab0c21e4cb4f028256ecead5f795)
lisp/bind-key.el
lisp/emacs-lisp/bytecomp.el