]> git.eshelyaron.com Git - emacs.git/commit
Lift define-prefix-command to Lisp
authorStefan Kangas <stefan@marxist.se>
Fri, 8 Jan 2021 14:16:02 +0000 (15:16 +0100)
committerStefan Kangas <stefan@marxist.se>
Fri, 8 Jan 2021 14:16:02 +0000 (15:16 +0100)
commit5ac7b480757d8731fe2bda0452e48f0cd0356aa4
tree5c4ad470ed58fc1fcfc51182de6617bf18eff341
parentf5cfe5a0a9c64f001f1cec3f78b811a3b6e69b09
Lift define-prefix-command to Lisp

* lisp/subr.el (define-prefix-command): New defun.
* src/keymap.c (Fdefine_prefix_command): Remove DEFUN.
(syms_of_keymap): Remove defsubr for Fdefine_prefix_command.
* test/lisp/subr-tests.el (subr-test-define-prefix-command): New
test.
lisp/subr.el
src/keymap.c
test/lisp/subr-tests.el