diff options
author | Taylor R Campbell <campbell@mumble.net> | 2009-03-09 22:20:45 +0000 |
---|---|---|
committer | Taylor R Campbell <campbell@mumble.net> | 2009-03-09 22:20:45 +0000 |
commit | a386bdf2b80aca53e648fcf2497353d6713a5c11 (patch) | |
tree | 568c7d3436bf90d2168d4c9dd9811cca3d4fe7ae /paredit.el | |
parent | 190797e95d53752a6667e25c90f725173bdcfcfd (diff) |
Call `end-of-defun' in `paredit-reindent-defun'.
Doing this before `beginning-of-defun' keeps us from moving to the
previous definition if we are already at the beginning of one.
darcs-hash:20090309222045-00fcc-0f1ff306dd34e0ee4fa5ebafbfc85b12a19314a7
Diffstat (limited to 'paredit.el')
-rw-r--r-- | paredit.el | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)))) |