File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -830,11 +830,15 @@ RESULT will be preceded by COMMENT-PREFIX.
830
830
CONTINUED-PREFIX is inserted for each additional line of output.
831
831
COMMENT-POSTFIX is inserted after final text output."
832
832
(unless (string= result " " )
833
- (let ((lines (split-string result " [\n ]+" t )))
833
+ (clojure-indent-line)
834
+ (let ((lines (split-string result " [\n ]+" t ))
835
+ (beg (point ))
836
+ (col (current-indentation )))
834
837
; ; only the first line gets the normal comment-prefix
835
838
(insert (concat comment-prefix (pop lines)))
836
839
(dolist (elem lines)
837
840
(insert (concat " \n " continued-prefix elem)))
841
+ (indent-rigidly beg (point ) col)
838
842
(unless (string= comment-postfix " " )
839
843
(insert comment-postfix)))))
840
844
You can’t perform that action at this time.
0 commit comments