Fix pp-emacs-lisp-code for `when' and related
* lisp/emacs-lisp/pp.el (pp--format-definition): Skip edebug specs we don't understand at all.
This commit is contained in:
parent
6a546a2486
commit
d69b5a9caa
1 changed files with 3 additions and 0 deletions
|
@ -310,6 +310,9 @@ Use the `pp-max-width' variable to control the desired line length."
|
|||
(while (and (cl-plusp indent)
|
||||
sexp)
|
||||
(insert " ")
|
||||
;; We don't understand all the edebug specs.
|
||||
(unless (consp edebug)
|
||||
(setq edebug nil))
|
||||
(if (and (consp (car edebug))
|
||||
(eq (caar edebug) '&rest))
|
||||
(pp--insert-binding (pop sexp))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue