summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paredit.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/paredit.el b/paredit.el
index f05f540..6fc8de7 100644
--- a/paredit.el
+++ b/paredit.el
@@ -1082,7 +1082,7 @@ This is expected to be called only in `paredit-comment-dwim'; do not
(save-excursion
(newline)
(lisp-indent-line)
- (indent-sexp))))
+ (paredit-ignore-sexp-errors (indent-sexp)))))
(t
;; Margin comment
(indent-to comment-column 1) ; 1 -> force one leading space