]> git.eshelyaron.com Git - emacs.git/commit
* lisp/kmacro.el: Use FCR instead of messing with internals
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 13 Dec 2021 21:43:58 +0000 (16:43 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 13 Dec 2021 21:43:58 +0000 (16:43 -0500)
commit463e621c29c9e236e538a2b4e9be1da2976c9c7e
tree148d1cacedee24e0bfcf52e06e9015451d6a658b
parenta3640a88f0159f1f5dbe868b0449982fb90cbb2b
* lisp/kmacro.el: Use FCR instead of messing with internals

* test/lisp/progmodes/elisp-mode-tests.el
(xref-elisp-generic-co-located-default): Silence warnings.

* test/lisp/kmacro-tests.el (kmacro-tests--cl-print): New test.

* lisp/kmacro.el (kmacro-function): New FCR type.
(kmacro-lambda-form): Use it.
(kmacro-extract-lambda, kmacro-p): Simplify/rewrite accordingly.
(cl-print-object): New method.

* lisp/emacs-lisp/fcr.el (fcr-make): Keep interactive specs before the
function's code.

* lisp/edmacro.el (edmacro-finish-edit): Prefer `kmacro-p`.
lisp/edmacro.el
lisp/emacs-lisp/fcr.el
lisp/kmacro.el
test/lisp/kmacro-tests.el
test/lisp/progmodes/elisp-mode-tests.el