mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-16 19:00:55 -08:00
pcase.el: Fix edebugging of backquoted cons patterns
* lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted cons patterns. (Bug#21920)
This commit is contained in:
parent
8ff888a07d
commit
c4b20fc936
1 changed files with 3 additions and 1 deletions
|
|
@ -865,8 +865,10 @@ Otherwise, it defers to REST which is a list of branches of the form
|
|||
|
||||
(def-edebug-spec
|
||||
pcase-QPAT
|
||||
;; Cf. edebug spec for `backquote-form' in edebug.el.
|
||||
(&or ("," pcase-PAT)
|
||||
(pcase-QPAT . pcase-QPAT)
|
||||
(pcase-QPAT [&rest [¬ ","] pcase-QPAT]
|
||||
. [&or nil pcase-QPAT])
|
||||
(vector &rest pcase-QPAT)
|
||||
sexp))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue