diff options
author | Taylor R Campbell <campbell@mumble.net> | 2011-03-22 20:49:57 +0000 |
---|---|---|
committer | Taylor R Campbell <campbell@mumble.net> | 2011-03-22 20:49:57 +0000 |
commit | 8a2d457d79edf5e19dd1f480335956b5b6d816c1 (patch) | |
tree | c4df86ff0c0f2fd7caa40f1de4a507684cb9265b /paredit.el | |
parent | 2ed66de313e509258b3022425981294caa8570c0 (diff) |
Reindent in `paredit-open-round' &c. like `paredit-wrap-round' &c.
Ignore-this: 13da51d89ea973b30048035bea3ac499
This way, M-3 ( works mostly like M-3 M-(. (They still behave
differently with respect to `paredit-yank-pop', though.)
darcs-hash:20110322204957-00fcc-3cbe3616018abf120000169ad818b1d86de9bdcb
Diffstat (limited to 'paredit.el')
-rw-r--r-- | paredit.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -629,7 +629,8 @@ If in a character literal, do nothing. This prevents changing what was (paredit-in-comment-p)) (insert ,open)) ((not (paredit-in-char-p)) - (paredit-insert-pair n ,open ,close 'goto-char)))) + (paredit-insert-pair n ,open ,close 'goto-char) + (save-excursion (backward-up-list) (indent-sexp))))) (defun ,(paredit-conc-name "paredit-close-" name) () ,(concat "Move past one closing delimiter and reindent. \(Agnostic to the specific closing delimiter.) |