projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c3d3fa
)
Fix edebug spec for 'package--with-response-buffer'
author
Philip Kaludercic
<philipk@posteo.net>
Fri, 11 Nov 2022 17:32:13 +0000
(18:32 +0100)
committer
Philip Kaludercic
<philipk@posteo.net>
Thu, 17 Nov 2022 19:37:28 +0000
(20:37 +0100)
* lisp/emacs-lisp/package.el (package--with-response-buffer): Add a
spec that makes the macro debuggable.
lisp/emacs-lisp/package.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package.el
b/lisp/emacs-lisp/package.el
index 8e6e7b7dcf8e3d7aa81f3a22025ccabb80c68316..23e0bb15d0ac95a62a943bf41a80404632d2bd8b 100644
(file)
--- a/
lisp/emacs-lisp/package.el
+++ b/
lisp/emacs-lisp/package.el
@@
-1363,10
+1363,7
@@
is non-nil, don't propagate connection errors (does not apply to
errors signaled by ERROR-FORM or by BODY).
\(fn URL &key ASYNC FILE ERROR-FORM NOERROR &rest BODY)"
- (declare (indent defun)
- ;; FIXME: This should be something like
- ;; `form def-body &rest form', but that doesn't work.
- (debug (form &rest sexp)))
+ (declare (indent defun) (debug (sexp body)))
(while (keywordp (car body))
(setq body (cdr (cdr body))))
`(package--with-response-buffer-1 ,url (lambda () ,@body)