]> git.eshelyaron.com Git - emacs.git/commit
Declare nested backquotes unsupported in Pcase patterns (bug#72328)
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 24 Sep 2024 18:01:26 +0000 (14:01 -0400)
committerEshel Yaron <me@eshelyaron.com>
Fri, 27 Sep 2024 10:20:17 +0000 (12:20 +0200)
commit4609333c7371f38660f6b4e216c250adcf42695b
tree1eb76ee1d36bfabe2782d6d55575db54fa4e9be6
parenta48e9c0c7bc2cbfc3463fd07ba8c9cd3f33ae807
Declare nested backquotes unsupported in Pcase patterns (bug#72328)

The current behavior is inconsistent with that of the normal backquote
macro, so to avoid surprises, warn about the use of nested backquotes.

* lisp/emacs-lisp/pcase.el (pcase--expand-\`): Warn about nested backquotes.

* lisp/emacs-lisp/testcover.el (testcover-analyze-coverage)
(testcover-analyze-coverage-wrapped-form): Avoid nested backquotes

(cherry picked from commit e8f5df5175170d36f526e46b63b3d428bb9a8950)
etc/NEWS
lisp/emacs-lisp/pcase.el
lisp/emacs-lisp/testcover.el