]> git.eshelyaron.com Git - emacs.git/commit
Avoid duplicate Edebug symbols when using ‘cl-flet’ (Bug#41989)
authorPhilipp Stephani <phst@google.com>
Sun, 2 Aug 2020 15:17:00 +0000 (17:17 +0200)
committerPhilipp Stephani <phst@google.com>
Sun, 2 Aug 2020 15:39:24 +0000 (17:39 +0200)
commitd8ab98843edccd233c2354d3c518c7a4b18023bd
treead0785f91068e823fd3b74782c19d8e05d9bb572
parenta07ec21bf24b8d1dc41808f997dd0fb78cad3870
Avoid duplicate Edebug symbols when using ‘cl-flet’ (Bug#41989)

* lisp/emacs-lisp/edebug.el (edebug-match-:unique): Add a new
‘:unique’ specifier to generate unique names.

* lisp/emacs-lisp/cl-macs.el (cl-flet): Use it.  This requires
inlining the ‘cl-defun’ specification.

* test/lisp/emacs-lisp/edebug-tests.el (edebug-tests-cl-flet): New
unit test.

* doc/lispref/edebug.texi (Specification List): Document new ‘:unique’
construct.
doc/lispref/edebug.texi
etc/NEWS
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/edebug.el
test/lisp/emacs-lisp/edebug-tests.el