Make debugging function define with those macro with edebug possible.
---
magit.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/magit.el b/magit.el
index 3576f5b..342bf87 100644
--- a/magit.el
+++ b/magit.el
@@ -626,7 +626,7 @@ Sections create into BODY will be child of the new section.
BODY must leave point at the end of the created section.
If TYPE is nil, the section won't be highlighted."
- (declare (indent 2))
+ (declare (indent 2) (debug (sexp sexp &rest form)))
(let ((s (gensym)))
`(let* ((,s (magit-new-section ,title ,type))
(magit-top-section ,s))
@@ -647,7 +647,7 @@ If TYPE is nil, the section won't be highlighted."
(defmacro magit-create-buffer-sections (&rest body)
"Empty current buffer of text and magit's section, and then evaluate BODY."
- (declare (indent 0))
+ (declare (indent 0) (debug (&rest form)))
`(let ((inhibit-read-only t))
(erase-buffer)
(let ((magit-old-top-section magit-top-section))
--
Rémi Vanicat
To unsubscribe from this group, send email to magit+unsubscribegooglegroups.com
or reply to this email with the words "REMOVE ME" as the subject.