Permalink
Browse files

make the macro have debug so you can debug the body of it.

  • Loading branch information...
1 parent 92241fa commit 02c27a633575b032ef01189bf2d0be9dba57f12b @nicferrier nicferrier committed Aug 25, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 mongo.el
View
@@ -332,7 +332,9 @@
"Bind VAR to a db opened with ARGS and evaluate BODY.
For ARGS see `mongo-open-database'."
- (declare (indent 1))
+ (declare
+ (debug (sexp &rest form))
+ (indent 1))
`(let* ((mongo-database mongo-database)
(,var (mongo-open-database ,@args)))
(unwind-protect

0 comments on commit 02c27a6

Please sign in to comment.