(debug-early-backtrace): Tweak the non-evald output
* lisp/emacs-lisp/debug-early.el (debug-early-backtrace): Make the non-evald output more like what is used in `debug.el`.
This commit is contained in:
parent
0f38e2393d
commit
e95ca5cf07
1 changed files with 9 additions and 12 deletions
|
@ -47,18 +47,15 @@ of the build process."
|
|||
(progn
|
||||
(princ " ")
|
||||
(prin1 func)
|
||||
(princ "(")
|
||||
(while args
|
||||
(prin1 (car args))
|
||||
(setq args (cdr args))
|
||||
(if args
|
||||
(princ " ")))
|
||||
(princ ")\n"))
|
||||
(while args
|
||||
(princ " ")
|
||||
(prin1 (car args))
|
||||
(princ "\n")
|
||||
(setq args (cdr args)))))))))
|
||||
(princ "("))
|
||||
(progn
|
||||
(princ " (")
|
||||
(setq args (cons func args))))
|
||||
(while (progn
|
||||
(prin1 (car args))
|
||||
(setq args (cdr args)))
|
||||
(princ " "))
|
||||
(princ ")\n"))))))
|
||||
|
||||
(defalias 'debug-early
|
||||
#'(lambda (&rest args)
|
||||
|
|
Loading…
Add table
Reference in a new issue