diff options
author | Taylor R Campbell <campbell@mumble.net> | 2011-03-22 07:53:38 +0000 |
---|---|---|
committer | Taylor R Campbell <campbell@mumble.net> | 2011-03-22 07:53:38 +0000 |
commit | bd439e3b74cefe471dad5c8a553cf6af27444955 (patch) | |
tree | db97a9ef699826f21b3691f5a487d23e2ff3eab0 /paredit.el | |
parent | a79aa2c61e8127ff3f2c0c63a772b6d3b12cf785 (diff) |
Avoid trailing space when `paredit-comment-dwim' inserts code comments.
Ignore-this: ad4e061915d387d246846932d5860919
darcs-hash:20110322075338-00fcc-ac9a1c13fd14ea9dd9b5070b66cdd3549cadc25a
Diffstat (limited to 'paredit.el')
-rw-r--r-- | paredit.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1170,8 +1170,9 @@ This is expected to be called only in `paredit-comment-dwim'; do not (insert ";;; ")) ((or code-after-p (not code-before-p)) ;; Code comment - (if code-before-p (newline)) - (lisp-indent-line) + (if code-before-p + (newline-and-indent) + (lisp-indent-line)) (insert ";; ") (if code-after-p (save-excursion |