]> git.eshelyaron.com Git - emacs.git/commit
Change how (declare (modes store the data
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 20 Feb 2021 13:29:41 +0000 (14:29 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 20 Feb 2021 13:29:41 +0000 (14:29 +0100)
commit12578d6aca2cc7182afdd070aa31c7aff6a3add8
tree06c14e37892aa30913fdd0601c946839d3486a2a
parent825aed11d267f7879ca8915eb2b0d154e0beb2d4
Change how (declare (modes store the data

* lisp/emacs-lisp/byte-run.el (byte-run--set-modes): Change from
being a predicate to storing the modes.  This allows using the
modes for positive command discovery, too.
* src/data.c (Fcommand_modes): Look at the `command-modes' symbol
property, too.
lisp/emacs-lisp/byte-run.el
src/data.c