Skip to content

Commit

Permalink
make the macro have debug so you can debug the body of it.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicferrier committed Aug 25, 2012
1 parent 92241fa commit 02c27a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mongo.el
Expand Up @@ -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
Expand Down

0 comments on commit 02c27a6

Please sign in to comment.