summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/package.el
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-11-11 18:32:13 +0100
committerPhilip Kaludercic <philipk@posteo.net>2022-11-17 20:37:28 +0100
commitccd7ab84c5a8685c66ee1b62cb486c00edd2d992 (patch)
tree27079387d57ad105c10819f92111534d074275e9 /lisp/emacs-lisp/package.el
parent7c3d3fa44e666b71881c34afa3d357feec758ec0 (diff)
downloademacs-ccd7ab84c5a8685c66ee1b62cb486c00edd2d992.tar.gz
emacs-ccd7ab84c5a8685c66ee1b62cb486c00edd2d992.tar.bz2
emacs-ccd7ab84c5a8685c66ee1b62cb486c00edd2d992.zip
Fix edebug spec for 'package--with-response-buffer'
* lisp/emacs-lisp/package.el (package--with-response-buffer): Add a spec that makes the macro debuggable.
Diffstat (limited to 'lisp/emacs-lisp/package.el')
-rw-r--r--lisp/emacs-lisp/package.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 8e6e7b7dcf8..23e0bb15d0a 100644
--- 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)