summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paredit.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/paredit.el b/paredit.el
index abc43e0..4451aea 100644
--- a/paredit.el
+++ b/paredit.el
@@ -989,6 +989,7 @@ If the point is in a string or a comment, fill the paragraph instead,
(paredit-in-comment-p))
(fill-paragraph argument)
(save-excursion
+ (end-of-defun)
(beginning-of-defun)
(indent-sexp))))